diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2009-01-17 11:27:38 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2009-01-17 11:27:38 +0000 |
commit | 58ff2a12088ec8654e527158795b013b1c95b374 (patch) | |
tree | a4190ea0a720b5ad8f495edb00dc7d8eec1c4b4a /externals | |
parent | 4dba8e06840efa789616e20b8eed52dd85f78ca0 (diff) |
iemmatix should compile again; this build-system is really f*d up...
svn path=/trunk/; revision=10561
Diffstat (limited to 'externals')
-rw-r--r-- | externals/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/externals/Makefile b/externals/Makefile index 3b24b47c..d1eea5ca 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -1406,12 +1406,14 @@ iemlib_clean: #------------------------------------------------------------------------------# # IEMMATRIX +## oh this is all sh!t: please use iemmatrix's build-system instead IEMMATRIX_NAME=iemmatrix -IEMMATRIX_SRC := $(wildcard $(externals_src)/iem/iemmatrix/src/m[at]*.c) -IEMMATRIX_ALIAS := $(wildcard $(externals_src)/iem/iemmatrix/alias/*.c) +IEMMATRIX_ROOT := $(externals_src)/iem/iemmatrix +IEMMATRIX_SRC := $(wildcard $(IEMMATRIX_ROOT)/src/m[at]*.c) +IEMMATRIX_ALIAS := $(wildcard $(IEMMATRIX_ROOT)/alias/*.c) IEMMATRIX_OBJ := $(IEMMATRIX_SRC:.c=.o) $(IEMMATRIX_ALIAS:.c=.o) -IEMMATRIX_SHARED := $(wildcard $(externals_src)/iem/iemmatrix/src/iemmatrix_binops.c) \ - $(wildcard $(externals_src)/iem/iemmatrix/src/iemmatrix_utility.c) +IEMMATRIX_SHARED := $(wildcard $(IEMMATRIX_ROOT)/src/iemmatrix_binops.c) \ + $(wildcard $(IEMMATRIX_ROOT)/src/iemmatrix_utility.c) iemmatrix: $(IEMMATRIX_OBJ:.o=.$(EXTENSION)) @@ -1422,7 +1424,7 @@ $(IEMMATRIX_OBJ:.o=.$(EXTENSION)) : %.$(EXTENSION) : $(IEMMATRIX_OBJ) $(IEMMATRI #rm -f -- "$*.o" $(IEMMATRIX_OBJ) $(IEMMATRIX_SHARED:.c=.o) : %.o : %.c - $(CC) $(CFLAGS) -o "$*.o" -c "$*.c" + $(CC) $(CFLAGS) -o "$*.o" -c "$*.c" -I$(IEMMATRIX_ROOT)/src iemmatrix_install: iemmatrix install -d $(objectsdir)/$(IEMMATRIX_NAME) |