aboutsummaryrefslogtreecommitdiff
path: root/src/iemlib1/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/iemlib1/makefile')
-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
-
-
-
-