diff options
author | N.N. <sevyves@users.sourceforge.net> | 2005-11-19 03:44:29 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2005-11-19 03:44:29 +0000 |
commit | 11d2a46b26553fdd31c141df69c48f0e8b608f7f (patch) | |
tree | 48668ca483e83e70d27c023ed3b2958f6fdc53ed /scrolllist/Makefile | |
parent | ae5ca28aed15abfd7e45510022942f7dfdad83e2 (diff) |
scrolllist 0.1
svn path=/trunk/externals/unauthorized/; revision=3969
Diffstat (limited to 'scrolllist/Makefile')
-rwxr-xr-x | scrolllist/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/scrolllist/Makefile b/scrolllist/Makefile new file mode 100755 index 0000000..a8624eb --- /dev/null +++ b/scrolllist/Makefile @@ -0,0 +1,48 @@ +NAME=scrolllist +CSYM=scrolllist + +current: pd_linux + +INCLUDE = -I../../src + +# ----------------------- Mac OSX ----------------------- + +pd_darwin: $(NAME).pd_darwin + +.SUFFIXES: .pd_darwin + +DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \ + -Wno-unused -Wno-parentheses -Wno-switch + +.c.pd_darwin: + cc $(DARWINCFLAGS) $(INCLUDE) -o $*.o -c $*.c + cc -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o + rm -f $*.o ../$*.pd_darwin + ln -s $*/$*.pd_darwin .. + + +# ----------------------- LINUX i386 ----------------------- + +pd_linux: $(NAME).pd_linux + +.SUFFIXES: .pd_linux + +LINUXCFLAGS = -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer \ + -Wall -W -Wno-shadow -Wstrict-prototypes \ + -Wno-unused -Wno-parentheses -Wno-switch -Werror -g + +.c.pd_linux: + ./tk2c.bash < $*.tk > $*.tk2c + gcc $(LINUXCFLAGS) $(INCLUDE) -o $*.o -c $*.c + ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm + strip --strip-unneeded $*.pd_linux + rm -f $*.o ../$*.pd_linux + ln -s $*/$*.pd_linux .. + +# ---------------------------------------------------------- + +install: + cp help-*.pd ../../doc/5.reference + +clean: + rm -f *.o *.pd_* so_locations |