CC = cc
CFLAGS = -O

DIRS = move place

all:: 
	@ for DIR in $(DIRS);\
	do \
	(cd $$DIR; echo "making all in $$DIR..."; \
	$(MAKE) $(MFLAGS) all); \
	done

install:: 
	@ for DIR in $(DIRS);\
	do \
	(cd $$DIR; echo "making install in $$DIR..."; \
	$(MAKE) $(MFLAGS) install); \
	done

clean:: 
	@ for DIR in $(DIRS);\
	do \
	(cd $$DIR; echo "making clean in $$DIR..."; \
	$(MAKE) $(MFLAGS) clean); \
	done
