diff options
author | musil <tmusil@users.sourceforge.net> | 2013-07-04 14:29:45 +0000 |
---|---|---|
committer | musil <tmusil@users.sourceforge.net> | 2013-07-04 14:29:45 +0000 |
commit | 750e8c9e036a21e58d768908392b61e8e2a895d5 (patch) | |
tree | 5d9f740c37c648ef36262b273c959a1f43889fa4 /iemlib2/src | |
parent | 04894a7f2ffb84b5b5d267e4692e3c93a106fa3e (diff) |
iemlib.h now in include folder parallel to library folder, change of makefiles
svn path=/trunk/externals/iemlib/; revision=17177
Diffstat (limited to 'iemlib2/src')
-rw-r--r-- | iemlib2/src/makefile | 42 | ||||
-rw-r--r-- | iemlib2/src/makefile_d_fat | 5 | ||||
-rw-r--r-- | iemlib2/src/makefile_linux | 85 |
3 files changed, 46 insertions, 86 deletions
diff --git a/iemlib2/src/makefile b/iemlib2/src/makefile index 19e7f63..2b3e364 100644 --- a/iemlib2/src/makefile +++ b/iemlib2/src/makefile @@ -2,3 +2,45 @@ TARGET = iemlib2 include ../../Make.include + +SRC = add2_comma.c \ + aspeedlim.c \ + bpe.c \ + dollarg.c \ + exp_inc.c \ + fade~.c \ + float24.c \ + iem_alisttosym.c \ + iem_anything.c \ + iem_append.c \ + iem_blocksize~.c \ + iem_i_route.c \ + iem_pbank_csv.c \ + iem_prepend.c \ + iem_receive.c \ + iem_route.c \ + iem_samplerate~.c \ + iem_sel_any.c \ + iem_send.c \ + iem_symtoalist.c \ + init.c \ + LFO_noise~.c \ + list2send.c \ + m2f~.c \ + mergefilename.c \ + modulo_counter.c \ + parentdollarzero.c \ + post_netreceive.c \ + pre_inlet.c \ + prepend_ascii.c \ + protect_against_open.c \ + receive2list.c \ + round_zero.c \ + speedlim.c \ + splitfilename.c \ + stripfilename.c \ + toggle_mess.c \ + transf_fader.c \ + unsymbol.c \ + wrap.c \ + $(TARGET).c diff --git a/iemlib2/src/makefile_d_fat b/iemlib2/src/makefile_d_fat index e64382d..5b7c752 100644 --- a/iemlib2/src/makefile_d_fat +++ b/iemlib2/src/makefile_d_fat @@ -4,7 +4,10 @@ current: all PD_INSTALL_PATH ?= "/Applications/Pd.app/Contents/Resources" -INCLUDE = -I. -I$(PD_INSTALL_PATH)/src +# path to iemlib.h +IEMLIB_INCLUDE = ../../include + +INCLUDE = -I. -I$(IEMLIB_INCLUDE) -I$(PD_INSTALL_PATH)/src CFLAGS =-DPD -DHAVE_G_CANVAS_H -O2 -Wall -W -Wshadow -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch diff --git a/iemlib2/src/makefile_linux b/iemlib2/src/makefile_linux deleted file mode 100644 index 561d281..0000000 --- a/iemlib2/src/makefile_linux +++ /dev/null @@ -1,85 +0,0 @@ -current: all - -.SUFFIXES: .pd_linux - -INCLUDE = -I. -I/usr/local/src/pd/src - -LDFLAGS = -export-dynamic -shared -LIB = -ldl -lm -lpthread - -#select either the DBG and OPT compiler flags below: - -CFLAGS = -DPD -DHAVE_G_CANVAS_H -DUNIX -W -Werror -Wno-unused \ - -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing \ - -DDL_OPEN -fPIC - -SYSTEM = $(shell uname -m) - -# the sources - -SRC = add2_comma.c \ - aspeedlim.c \ - bpe.c \ - dollarg.c \ - exp_inc.c \ - fade~.c \ - float24.c \ - iem_anything.c \ - iem_append.c \ - iem_blocksize~.c \ - iem_i_route.c \ - iem_pbank_csv.c \ - iem_prepend.c \ - iem_receive.c \ - iem_route.c \ - iem_samplerate~.c \ - iem_sel_any.c \ - iem_send.c \ - iem_symtoalist.c \ - init.c \ - LFO_noise~.c \ - list2send.c \ - m2f~.c \ - mergefilename.c \ - modulo_counter.c \ - parentdollarzero.c \ - post_netreceive.c \ - pre_inlet.c \ - prepend_ascii.c \ - protect_against_open.c \ - receive2list.c \ - round_zero.c \ - speedlim.c \ - splitfilename.c \ - stripfilename.c \ - toggle_mess.c \ - transf_fader.c \ - unsymbol.c \ - wrap.c \ - iemlib2.c - -TARGET = iemlib2.pd_linux - - -OBJ = $(SRC:.c=.o) - -# -# ------------------ targets ------------------------------------ -# - -clean: - rm ../$(TARGET) - rm *.o - -all: $(OBJ) - @echo :: $(OBJ) - $(LD) $(LDFLAGS) -o $(TARGET) *.o $(LIB) - strip --strip-unneeded $(TARGET) - mv $(TARGET) .. - -$(OBJ) : %.o : %.c - $(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c - - - - |