mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-04 22:11:07 +01:00
Change Makefile so that 'clean' spares the vendor/ folder
Run 'make cleanall' to remove it as well
This commit is contained in:
parent
b91dfd5dff
commit
1cbd1f933c
8
Makefile
8
Makefile
@ -39,7 +39,7 @@ WIN_FLEX_BISON_DIR = vendor/flex_bison_$(WIN_FLEX_BISON_VERSION)
|
||||
WIN_CMOCKA_VERSION = 1.1.0
|
||||
WIN_CMOCKA_DIR = vendor/cmocka-$(WIN_CMOCKA_VERSION)
|
||||
|
||||
.PHONY: clean build cov win32 debug win32.debug win32.pcre infomsg replaceinfos test covtest \
|
||||
.PHONY: clean cleanall build cov win32 debug win32.debug win32.pcre infomsg replaceinfos test covtest \
|
||||
package win32.package package_common utest win32.utest static
|
||||
|
||||
|
||||
@ -206,10 +206,12 @@ win32.utest: $(OUT_DIR)
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
clean:
|
||||
rm -f $(OUT_DIR)/boxes.h tools/boxes.cfg tools/LICENSE.txt tools/boxes.exe tools/README*.md boxes.portable.*.nupkg
|
||||
rm -f tools/boxes.cfg tools/LICENSE.txt tools/boxes.exe tools/README*.md boxes.portable.*.nupkg
|
||||
rm -f doc/boxes.1 doc/boxes.1.raw.html doc/boxes.1.html
|
||||
rm -rf vendor
|
||||
$(MAKE) -C src clean
|
||||
|
||||
cleanall: clean
|
||||
rm -rf vendor
|
||||
|
||||
|
||||
#EOF
|
||||
|
@ -133,7 +133,7 @@ package: $(BOXES_EXECUTABLE_NAME)
|
||||
|
||||
clean:
|
||||
rm -rf $(OUT_DIR)
|
||||
rm -f core $(GEN_HDR)
|
||||
rm -f core
|
||||
|
||||
|
||||
#EOF
|
||||
|
Loading…
Reference in New Issue
Block a user