Codebase list enumiax / de5180e4-5b1f-4300-b10a-abfb0d65728b/main base.mk
de5180e4-5b1f-4300-b10a-abfb0d65728b/main

Tree @de5180e4-5b1f-4300-b10a-abfb0d65728b/main (Download .tar.gz)

base.mk @de5180e4-5b1f-4300-b10a-abfb0d65728b/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