aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-12-03 23:09:00 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-12-03 23:09:00 +0000
commit00080f4f0ef84d0f5e3722e212d7b42a7b6b5f7d (patch)
tree25d4fd7bc09dd184c722ad3cd96fb58910766c02 /externals
parent56ac00ad9227658e7cf3d626e37ee35e970f506b (diff)
made loaders-hexloader targets in the style of loaders-libdir
svn path=/trunk/; revision=14566
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile24
1 files changed, 23 insertions, 1 deletions
diff --git a/externals/Makefile b/externals/Makefile
index cb6782ab..019b6d88 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -128,7 +128,7 @@ CXXFLAGS = $(CFLAGS)
#
# WARNING! this MUST be all on one line because the automatic package
# building scripts rely on it being that way.
-LIB_TARGETS = adaptive arraysize bassemu boids bsaylor comport creb cxc cyclone earplug ekext ext13 freeverb ggee hcs iem_ambi iem_bin_ambi iemlib iemgui iemguts iem_adaptfilt iemmatrix iemxmlrpc iem_delay iem_roomsim iem_spec2 iem_tab jasch_lib loaders-libdir mapping markex maxlib mjlib moocow moonlib motex mrpeach oscx pan pdcontainer pddp pdogg plugin pmpd sigpack smlib tof unauthorized vanilla vbap windowing zexy
+LIB_TARGETS = adaptive arraysize bassemu boids bsaylor comport creb cxc cyclone earplug ekext ext13 freeverb ggee hcs iem_ambi iem_bin_ambi iemlib iemgui iemguts iem_adaptfilt iemmatrix iemxmlrpc iem_delay iem_roomsim iem_spec2 iem_tab jasch_lib loaders-hexloader loaders-libdir mapping markex maxlib mjlib moocow moonlib motex mrpeach oscx pan pdcontainer pddp pdogg plugin pmpd sigpack smlib tof unauthorized vanilla vbap windowing zexy
# this is for libraries that don't compile (yet) on all platforms
ifeq ($(OS_NAME),windows)
@@ -968,6 +968,28 @@ jasch_lib_clean:
#------------------------------------------------------------------------------#
+# LOADERS-HEXLOADER
+LOADERS-HEXLOADER_NAME = hexloader
+LOADERS-HEXLOADER_OBJECTS := $(externals_src)/loaders/hexloader/hexloader.c
+loaders-hexloader: $(LOADERS-HEXLOADER_OBJECTS:.c=.$(EXTENSION))
+ echo $(LOADERS-HEXLOADER_OBJECTS)
+
+loaders-hexloader_install: loaders-hexloader
+ install -d $(DESTDIR)$(objectsdir)/$(LOADERS-HEXLOADER_NAME)
+ install -p $(LOADERS-HEXLOADER_OBJECTS:.c=.$(EXTENSION)) \
+ $(DESTDIR)$(objectsdir)/$(LOADERS-HEXLOADER_NAME)
+ install -p $(externals_src)/loaders/hexloader/README.txt \
+ $(externals_src)/loaders/hexloader/FAQ.txt \
+ $(DESTDIR)$(objectsdir)/$(LOADERS-HEXLOADER_NAME)
+
+loaders-hexloader_clean:
+ -rm -f -- $(LOADERS-HEXLOADER_OBJECTS:.c=.$(EXTENSION))
+ -rm -f -- $(externals_src)/loaders/hexloader/*.o
+ -rm -f -- $(externals_src)/loaders/*.bak
+ -rm -f -- $(externals_src)/loaders/hexloader/*.*~
+
+
+#------------------------------------------------------------------------------#
# LOADERS-LIBDIR
loaders-libdir:
make -C $(externals_src)/loaders/libdir PD_PATH=$(pd_src) CFLAGS="$(CFLAGS)"