Enable generation of .gitignore file for the test dir
This commit is contained in:
parent
827daf1fca
commit
22049c1ec3
1 changed files with 8 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue