base.mk 440 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
# Compiler Options
#CC = gcc
CFLAGS = -O2 -Wall ${DEBUG}
DEBUG = -g

# Installation Options
BINDIR = /usr/local/bin

clean:
	rm -f core *.o *~ enumiax
	for i in `ls -l | grep "^d" | awk '{ print $$8 }'`; do \
		cd $$i; \
		if [ -e Makefile ]; then \
			make clean; \
		fi; \
		cd ../; \
	done

recurse:
	for i in `ls -l | grep "^d" | awk '{ print $$8 }'`; do \
		cd $$i; \
		if [ -e Makefile ]; then \
			make; \
		fi; \
		cd ../; \
	done