Generate .gitignore file for tools directory
This commit is contained in:
parent
22049c1ec3
commit
20a04a068d
1 changed files with 6 additions and 2 deletions
|
@ -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 $@
|
||||
|
|
Loading…
Reference in a new issue