From 972e30e5f3cd2d88fb2de1276cb3c0b0dab8a0de Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 21 Feb 2010 06:00:49 +0000 Subject: ported mjlib to template Makefile and debian stuff svn path=/trunk/externals/mjlib/; revision=13186 --- makefile.linux | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 makefile.linux (limited to 'makefile.linux') diff --git a/makefile.linux b/makefile.linux deleted file mode 100644 index 5a5ca8e..0000000 --- a/makefile.linux +++ /dev/null @@ -1,54 +0,0 @@ - -EXT = pd_linux -DEFS = -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DPD_VERSION_MINOR=32 -CC = gcc -CXX = c++ -LD = ld -AFLAGS = -LFLAGS = --export-dynamic -shared -WFLAGS = -IFLAGS = -I./include -I../src -INSTALL_PREFIX=/usr/local - -VERSION = \"$(shell cat VERSION)\" - -.SUFFIXES: .$(EXT) - -PDCFLAGS = -g -O2 $(DEFS) $(IFLAGS) $(WFLAGS) $(LFLAGS) $(AFLAGS) -DVERSION=$(VERSION) -CFLAGS = -g -O2 $(DEFS) $(IFLAGS) $(WFLAGS) -DVERSION=$(VERSION) -CXXFLAGS = $(CFLAGS) - -#LIBS = -lc -lm -LIBS = -lpthread -lm -lc -SOURCES = about.c convolve~.c pin~.c metroplus.c monorhythm.c morse.c n2m.c prob.c synapseA~.c -TARGETS = $(SOURCES:.c=.$(EXT)) - -all: $(TARGETS) - -clean:: - -rm *.$(EXT) *.o - -distclean: clean - -rm config.cache config.log config.status makefile - - - -.c.o: - $(CC) -c -o $@ $(CFLAGS) -DPD $*.c - -# cp $@ $*_stat.o - -.o.pd_linux: - $(CC) -o $@ $(PDCFLAGS) -DPD $*.o - - - -install:: - install -d $(INSTALL_PREFIX)/pd/externs - install -m 644 *.$(EXT) $(INSTALL_PREFIX)/pd/externs - -install -m 644 mjLib.pd_linux $(INSTALL_PREFIX)/pd/externs - install -m 644 doc/*.pd $(INSTALL_PREFIX)/pd/doc/5.reference - - -dist: distclean - (cd ..;tar czvf mjLib.tar.gz mjLib) -- cgit v1.2.1