diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-11-11 17:37:49 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-11-11 17:37:49 +0000 |
commit | 42073ef4e32271a606e0452b4a1d79c607b58ecb (patch) | |
tree | 0b94324e58b36f475e39f6d167931abb771a9b4d /makefile | |
parent | b76ee6d1018401d77b6982450de83443c26e1c8d (diff) |
setup using the core of the Library Template
svn path=/trunk/externals/jackx/; revision=16533
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 32 |
1 files changed, 0 insertions, 32 deletions
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 |