stage4/Makefile
changeset 268 1eba01e3fb70
parent 243 bdfee1f5be9e
child 279 c0453b7f99df
equal deleted inserted replaced
267:0a1204bcc9af 268:1eba01e3fb70
     8 
     8 
     9 all: stage4.o
     9 all: stage4.o
    10 
    10 
    11 clean:
    11 clean:
    12 	rm -f *.o
    12 	rm -f *.o
    13 	find . -depth -mindepth 2 -maxdepth 2 -name Makefile -printf %h\\n | xargs -i make -C{} $@
    13 	find . -depth -mindepth 2 -maxdepth 2 -name Makefile | sed 's/Makefile//g' | xargs -I {} make -C{} clean
    14 
    14 
    15 
    15 
    16 CXXFLAGS += -I. -I../*
    16 CXXFLAGS += -I. -I../*
    17 
    17 
    18 #how to make things in subdirectories etc
    18 #how to make things in subdirectories etc