Generate .gitignore file for tools directory

This commit is contained in:
Thomas Veerman 2011-04-21 13:20:55 +00:00
parent 22049c1ec3
commit 20a04a068d

View file

@ -2,6 +2,7 @@
u=/usr
MDEC= /usr/mdec
GEN_FILES= *.bak image kernel *.iso *.iso.gz cdfdimage rootimage src
# Specify the programs that are part of the system image.
PROGRAMS= kernel \
@ -65,9 +66,12 @@ image: includes services
includes:
$(MAKE) -C .. includes
depend: includes
depend: includes .gitignore
$(MAKE) -C ../ depend
.gitignore: Makefile
echo $(GEN_FILES) | tr ' ' '\n' >.gitignore
services: includes kernel servers .WAIT drivers
kernel: includes
@ -101,7 +105,7 @@ clean:
$(MAKE) -C ../kernel $@
$(MAKE) -C ../servers $@
$(MAKE) -C ../drivers $@
rm -rf *.bak image kernel *.iso *.iso.gz cdfdimage rootimage src
rm -rf $(GEN_FILES)
cleandepend::
$(MAKE) -C ../kernel $@