mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-30 00:41:14 +00:00
Simplified make clean by using GNUSTEP_OBJ_DIR
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10476 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e32dfeae06
commit
36ad069a1a
2 changed files with 6 additions and 12 deletions
|
@ -52,12 +52,14 @@ ifeq ($(profile), yes)
|
|||
APP_EXTENSION = profile
|
||||
else
|
||||
ifeq ($(debug), yes)
|
||||
APP_EXTENSION=debug
|
||||
APP_EXTENSION = debug
|
||||
else
|
||||
APP_EXTENSION=app
|
||||
APP_EXTENSION = app
|
||||
endif
|
||||
endif
|
||||
|
||||
$(warning APP_EXTENSION is $(APP_EXTENSION))
|
||||
|
||||
ifeq ($(INTERNAL_app_NAME),)
|
||||
# This part gets included by the first invoked make process.
|
||||
internal-all:: $(APP_NAME:=.all.app.variables)
|
||||
|
@ -67,11 +69,7 @@ internal-install:: $(APP_NAME:=.install.app.variables)
|
|||
internal-uninstall:: $(APP_NAME:=.uninstall.app.variables)
|
||||
|
||||
internal-clean:: $(APP_NAME:=.clean.app.subprojects)
|
||||
ifeq ($(GNUSTEP_FLATTENED),)
|
||||
rm -rf $(GNUSTEP_OBJ_PREFIX)/$(GNUSTEP_TARGET_LDIR)
|
||||
else
|
||||
rm -rf $(GNUSTEP_OBJ_PREFIX)
|
||||
endif
|
||||
rm -rf $(GNUSTEP_OBJ_DIR)
|
||||
ifeq ($(OBJC_COMPILER), NeXT)
|
||||
rm -f *.iconheader
|
||||
for f in *.$(APP_EXTENSION); do \
|
||||
|
|
|
@ -70,11 +70,7 @@ internal-install:: $(GSWAPP_NAME:=.install.gswapp.variables)
|
|||
internal-uninstall:: $(GSWAPP_NAME:=.uninstall.gswapp.variables)
|
||||
|
||||
internal-clean:: $(GSWAPP_NAME:=.clean.gswapp.subprojects)
|
||||
ifeq ($(GNUSTEP_FLATTENED),)
|
||||
rm -rf $(GNUSTEP_OBJ_PREFIX)/$(GNUSTEP_TARGET_LDIR)
|
||||
else
|
||||
rm -rf $(GNUSTEP_OBJ_PREFIX)
|
||||
endif
|
||||
rm -rf $(GNUSTEP_OBJ_DIR)
|
||||
ifeq ($(OBJC_COMPILER), NeXT)
|
||||
rm -f *.iconheader
|
||||
for f in *.$(GSWAPP_EXTENSION); do \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue