Makefile 515 Bytes
Newer Older
POGODALLA Sylvain's avatar
POGODALLA Sylvain committed
1 2
PHONY: config test

3
BINARIES=acgc acgc.opt acg acg.opt
POGODALLA Sylvain's avatar
POGODALLA Sylvain committed
4

5 6 7
test opt: 
	$(MAKE) -C src $@
	for file in $(BINARIES); do find . -name "$$file" -exec cp {} . \; ; done
POGODALLA Sylvain's avatar
POGODALLA Sylvain committed
8 9 10 11 12 13 14


superclean clean:
	if test "$@" = clean ; then $(MAKE) -C config $@ ; fi
	$(MAKE) -C src $@
	rm -rf *.log  *~ autom4te.cache
	find data/. -name "*~" -exec rm -f {} \;
15
	-for file in $(BINARIES); do rm $$file ; done
POGODALLA Sylvain's avatar
POGODALLA Sylvain committed
16 17 18 19 20 21 22 23 24 25



# Part for the auto configuration

config: configure

configure: config/configure.ac
	cd $(<D) && autoconf && mv configure .. & cd ..