Codebase list enumiax / b98e77b0-9acd-4ce9-b489-8ebd470132cb/main base.mk
b98e77b0-9acd-4ce9-b489-8ebd470132cb/main

Tree @b98e77b0-9acd-4ce9-b489-8ebd470132cb/main (Download .tar.gz)

base.mk @b98e77b0-9acd-4ce9-b489-8ebd470132cb/mainraw · history · blame

# 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