]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blame - Makefile.am
Use a standard autotools setup.
[sigrok-firmware-fx2lafw.git] / Makefile.am
CommitLineData
d5f5ea73
UH
1##
2## This file is part of the fx2lafw project.
3##
36074319 4## Copyright (C) 2013 Uwe Hermann <uwe@hermann-uwe.de>
d5f5ea73
UH
5##
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; either version 2 of the License, or
9## (at your option) any later version.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15##
16## You should have received a copy of the GNU General Public License
17## along with this program; if not, write to the Free Software
18## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19##
20
36074319 21ACLOCAL_AMFLAGS = -I autostuff
60b99ccc 22
36074319
UH
23SUBDIRS = include fx2lib hw
24
25EXTRA_DIST = fx2lafw.c gpif-acquisition.c
26
27.PHONY: fx2lafw
28fx2lafw: fx2lafw.rel gpif-acquisition.rel
29
30.c.rel:
31 $(AM_V_GEN)$(SDCC) -mmcs51 -I$(srcdir)/include -I${srcdir}/fx2lib/include -c $< -o $@
32
33MAINTAINERCLEANFILES = ChangeLog
34
35.PHONY: ChangeLog
36ChangeLog:
37 $(AM_V_at)git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog
38
39dist-hook: ChangeLog
40
41clean-local:
42 $(AM_V_at)-rm -f *.asm *.lst *.rel *.rst *.sym
106ee45c 43