From 22049c1ec34cb1ec3225e47cb9df5b20431ade0b Mon Sep 17 00:00:00 2001 From: Thomas Veerman Date: Thu, 21 Apr 2011 13:20:13 +0000 Subject: [PATCH] Enable generation of .gitignore file for the test dir --- test/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 \ -- 2.44.0