Makefile
changeset 0 06dd3b8d90ad
equal deleted inserted replaced
-1:000000000000 0:06dd3b8d90ad
       
     1 TARGETS=player src
       
     2 
       
     3 all:
       
     4 	@for i in $(TARGETS); \
       
     5 	do \
       
     6 		make --no-print-directory -C $$i all; \
       
     7 	done
       
     8 
       
     9 .PHONY: clean distclean
       
    10 
       
    11 clean:
       
    12 	@for i in $(TARGETS); \
       
    13 	do \
       
    14 		make --no-print-directory -C $$i clean; \
       
    15 	done
       
    16 	@rm -f *~ include/*~
       
    17 
       
    18 distclean:
       
    19 	@for i in $(TARGETS); \
       
    20 	do \
       
    21 		make --no-print-directory -C $$i distclean; \
       
    22 	done
       
    23