From: Thomas Veerman Date: Thu, 21 Apr 2011 13:20:13 +0000 (+0000) Subject: Enable generation of .gitignore file for the test dir X-Git-Tag: v3.2.0~570 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/style.css?a=commitdiff_plain;h=22049c1ec34cb1ec3225e47cb9df5b20431ade0b;p=minix.git Enable generation of .gitignore file for the test dir --- diff --git a/test/Makefile b/test/Makefile index 88ee23dea..720e010ba 100644 --- a/test/Makefile +++ b/test/Makefile @@ -18,8 +18,9 @@ BIGOBJ= test20 test24 ROOTOBJ= test11 test33 test43 test44 test46 GCCOBJ= test45-gcc test49-gcc GCCFPUOBJ= test51-gcc test52-gcc +OTHEROBJ= test57 test59 -all: $(OBJ) $(BIGOBJ) $(GCCOBJ) $(GCCFPUOBJ) $(ROOTOBJ) test57 test59 +all: $(OBJ) $(BIGOBJ) $(GCCOBJ) $(GCCFPUOBJ) $(ROOTOBJ) $(OTHEROBJ) depend chmod 755 *.sh run $(OBJ): @@ -39,6 +40,12 @@ $(ROOTOBJ): @install -c -o root -m 4755 a.out $@ @rm a.out +depend: .gitignore + +.gitignore: Makefile + echo $(OBJ) $(BIGOBJ) $(ROOTOBJ) $(GCCOBJ) $(GCCFPUOBJ) $(OTHEROBJ) | \ + tr ' ' '\n' >.gitignore + clean: $(MAKE) -C select clean -rm -rf *.o *.s *.bak test? test?? test??-gcc t10a t11a t11b \