Enable generation of .gitignore file for the test dir
This commit is contained in:
		
							parent
							
								
									827daf1fca
								
							
						
					
					
						commit
						22049c1ec3
					
				| @ -18,8 +18,9 @@ BIGOBJ=  test20 test24 | |||||||
| ROOTOBJ= test11 test33 test43 test44 test46 | ROOTOBJ= test11 test33 test43 test44 test46 | ||||||
| GCCOBJ=  test45-gcc test49-gcc  | GCCOBJ=  test45-gcc test49-gcc  | ||||||
| GCCFPUOBJ= test51-gcc test52-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 | 	chmod 755 *.sh run | ||||||
| 
 | 
 | ||||||
| $(OBJ): | $(OBJ): | ||||||
| @ -39,6 +40,12 @@ $(ROOTOBJ): | |||||||
| 	@install -c -o root -m 4755 a.out $@ | 	@install -c -o root -m 4755 a.out $@ | ||||||
| 	@rm a.out | 	@rm a.out | ||||||
| 
 | 
 | ||||||
|  | depend: .gitignore | ||||||
|  | 
 | ||||||
|  | .gitignore: Makefile | ||||||
|  | 	echo $(OBJ) $(BIGOBJ) $(ROOTOBJ) $(GCCOBJ) $(GCCFPUOBJ) $(OTHEROBJ) | \
 | ||||||
|  | 	tr ' ' '\n' >.gitignore | ||||||
|  | 
 | ||||||
| clean:	 | clean:	 | ||||||
| 	$(MAKE) -C select clean | 	$(MAKE) -C select clean | ||||||
| 	-rm -rf *.o *.s *.bak test? test?? test??-gcc t10a t11a t11b \
 | 	-rm -rf *.o *.s *.bak test? test?? test??-gcc t10a t11a t11b \
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Thomas Veerman
						Thomas Veerman