diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-18 18:19:40 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-18 18:19:40 +0000 |
commit | d4eb4cb7fda774d4b114888a1c694db0575bdf24 (patch) | |
tree | c4c4324a9a460d7a5d889e5c0fec7cf14e9808cb /externals/Makefile | |
parent | 896b5803cf1de70175c44bb4bdb11d5749bb5007 (diff) |
clean targets sorted and tested. There are now standard clean targets based on the destinations which are part of Makefile.buildlayout
svn path=/trunk/; revision=3965
Diffstat (limited to 'externals/Makefile')
-rw-r--r-- | externals/Makefile | 43 |
1 files changed, 8 insertions, 35 deletions
diff --git a/externals/Makefile b/externals/Makefile index 5da699bf..56797d8e 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -39,7 +39,7 @@ DEST_PATHS = BUILDLAYOUT_DIR=$(BUILDLAYOUT_DIR) \ objects: objects_$(OS_NAME)
@echo "Compiling objects for $(OS_NAME) aka $(UNAME)"
# try it this way so that it'll recognize files that have already been built
- cd $(EXTERNALS_SRC)/build/$(OS_NAME) && make -k
+ cd $(EXTERNALS_SRC)/build/$(OS_NAME) && make -k
# these targets are for platform-specific needs
objects_darwin:
@@ -67,10 +67,11 @@ applications_install: $(APPLICATIONS_DEST) $(APPLICATIONS_DEST)/$(IEMLIB_NAME)
# PMDP examples
install -d $(APPLICATIONS_DEST)/$(PMPD_NAME)
- install -p $(EXTERNALS_SRC)/pmpd/exemples/*.pd $(APPLICATIONS_DEST)/$(PMPD_NAME)
+ install -p $(EXTERNALS_SRC)/pmpd/exemples/*.pd \
+ $(APPLICATIONS_DEST)/$(PMPD_NAME)
-docs_install: $(HELP_DEST)
+help_install: $(HELP_DEST)
#------------------------------------------------------------------------------#
# all standard objs' help files
# it had to be broken up because the list is soo long
@@ -173,8 +174,9 @@ objects_install: objects -install: $(OBJECTS_DEST) docs_install applications_install objects_install
+install: $(OBJECTS_DEST) help_install applications_install objects_install
install: manuals_install
+ @echo "externals install succeeded!"
#==============================================================================#
#
@@ -186,34 +188,5 @@ install: manuals_install devsymlinks:
-#==============================================================================#
-#
-# CLEAN TARGETS
-#
-#==============================================================================#
-
-applications_clean:
- rm $(APPLICATIONS_DEST)/*/*.*
- rmdir $(APPLICATIONS_DEST)/*
- rmdir $(APPLICATIONS_DEST)
-
-docs_clean:
- -rm $(HELP_DEST)/*.* $(HELP_DEST)/*/*.*
- rmdir $(HELP_DEST)/*
-
-manuals_clean:
- rm $(MANUALS_DEST)/*/*.*
- rmdir $(MANUALS_DEST)/*
- rmdir $(MANUALS_DEST)
-
-objects_clean:
- rm $(OBJECTS_DEST)/*.pd
- rm $(OBJECTS_DEST)/*/*.pd
- rm $(OBJECTS_DEST)/*.$(EXTENSION)
-# for upcoming lib directory structure
- -rm $(OBJECTS_DEST)/*/*.$(EXTENSION)
- rmdir $(OBJECTS_DEST)/*
-
-clean: applications_clean docs_clean manuals_clean objects_clean
- rmdir $(DOCS_DEST)/*
- rmdir $(DOCS_DEST)
+# FYI: clean targets are in Makefile.buildlayout
+clean: install_clean cruft_clean
|