From 42073ef4e32271a606e0452b4a1d79c607b58ecb Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 11 Nov 2012 17:37:49 +0000 Subject: setup using the core of the Library Template svn path=/trunk/externals/jackx/; revision=16533 --- makefile | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile deleted file mode 100644 index 333a18d..0000000 --- a/makefile +++ /dev/null @@ -1,32 +0,0 @@ - -CFLAGS = -DPD $(OPT_CFLAGS) -I../../pd/src -Wall -W $(DEBUG_CFLAGS) -LDFLAGS = -LIBS = -lm - -UNAME := $(shell uname -s) -ifeq ($(UNAME),Linux) - OS_NAME = linux - EXTENSION = pd_linux - CFLAGS += -DUNIX -Dunix -fPIC - LDFLAGS += -Wl,--export-dynamic -shared -endif -ifeq ($(UNAME),Darwin) - OS_NAME = darwin - EXTENSION = pd_darwin - CFLAGS += -DMACOSX -DUNIX -Dunix - LDFLAGS += -bundle -bundle_loader ../../pd/bin/pd -undefined dynamic_lookup -endif - -all: jackx.$(EXTENSION) - -%.o: %.c - $(CC) $(CFLAGS) -o "$*.o" -c "$*.c" - -%.$(EXTENSION): %.o - $(CC) $(LDFLAGS) -o "$*.$(EXTENSION)" "$*.o" $(LIBS) - chmod a-x "$*.$(EXTENSION)" - rm -f -- $*.o - -clean: - -rm -f -- jackx.$(EXTENSION) - -rm -f -- jackx.o -- cgit v1.2.1