Debian Codegraph @

Makefile

raw
1 subdirs:= ibsim umad2sim
2 subdirs_with_tests:=$(subdirs) tests
3
4 all clean dep:
5 $(foreach dir, $(subdirs_with_tests), make -C $(dir) $@ && ) echo "Done."
6
7 install:
8 $(foreach dir, $(subdirs), make -C $(dir) $@ && ) echo "Done."
9
10 dist:
11 ./dist.sh RELEASE=$(RELEASE)
12
13 distcheck: dist
14 @set -e; set -x; \
15 tarball=`ls -t *.tar.gz | head -n 1`; \
16 rm -rf checkdir; \
17 mkdir checkdir; \
18 cd checkdir; \
19 tar xzf ../$$tarball; \
20 cd *; \
21 make; \
22 make install DESTDIR=`pwd`/root; \
23 #
24 rm -rf checkdir
25
26 .PHONEY: all clean dep dist distcheck install