aboutsummaryrefslogtreecommitdiff
path: root/src/iemlib1
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-11-14 18:17:29 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-11-14 18:17:29 +0000
commit22e2a8c435e6907aae8fb43c54341f8ec55e6231 (patch)
tree657b6a62954ba90dfd77fa4b55c96ff705cf60f6 /src/iemlib1
parentcc8ea374e396a623e2c3e690c8e8efc47e0a1cbb (diff)
moved most logic from individual makefiles into Make.include
svn path=/trunk/externals/iemlib/; revision=3892
Diffstat (limited to 'src/iemlib1')
-rw-r--r--src/iemlib1/makefile35
1 files changed, 1 insertions, 34 deletions
diff --git a/src/iemlib1/makefile b/src/iemlib1/makefile
index 0df6ae7..f1fa0e4 100644
--- a/src/iemlib1/makefile
+++ b/src/iemlib1/makefile
@@ -1,37 +1,4 @@
-current: all
-
-.SUFFIXES: .pd_linux
+TARGET = iemlib1
include ../../Make.include
-INCLUDE = -I. -I$(PDSOURCE)
-
-# the sources
-SRC = $(sort $(filter %.c, $(wildcard *.c)))
-
-TARGET = iemlib1.pd_linux
-
-
-OBJ = $(SRC:.c=.o)
-
-#
-# ------------------ targets ------------------------------------
-#
-
-clean:
- -rm ../../lib/$(TARGET) $(TARGET)
- -rm *.o
-
-all: $(OBJ)
- @echo :: $(OBJ)
- ld $(LDFLAGS) -o $(TARGET) *.o $(LIB)
- strip --strip-unneeded $(TARGET)
- -cp $(TARGET) ../../lib
-
-$(OBJ) : %.o : %.c
- touch $*.c
- cc $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c
-
-
-
-