diff options
author | Tom Schouten <doelie@users.sourceforge.net> | 2003-01-21 10:27:33 +0000 |
---|---|---|
committer | Tom Schouten <doelie@users.sourceforge.net> | 2003-01-21 10:27:33 +0000 |
commit | 9b8745d5250c9d0b60c9aa5a77f58a3fcddf1076 (patch) | |
tree | 8372b6a414a7124cec57efc9c80845e2bc1b157d /Makefile.config |
This commit was generated by cvs2svn to compensate for changes in r352,svn2git-root
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/externals/pdp/; revision=353
Diffstat (limited to 'Makefile.config')
-rw-r--r-- | Makefile.config | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Makefile.config b/Makefile.config new file mode 100644 index 0000000..ab45cdc --- /dev/null +++ b/Makefile.config @@ -0,0 +1,45 @@ +# pd's directory +PD_DIR = /home/tom/pd/distro/pd +PDP_DIR = /home/tom/pd/packet + +#PD_DIR = /usr/local/pd +#PDP_DIR = /usr/local/pdp + +# uncomment for philips webcam support +# PDP_PWC = -DHAVE_V4LPWC + +# specify target +#PDP_TARGET = linux +PDP_TARGET = linux_mmx + + +################################################# + + +PDP_VERSION = 0.8-test-2 +PDP_DEFINES = $(PDP_PWC) + +# build flags + +PDP_INCLUDE = -I$(PD_DIR)/src -I. -I/usr/X11R6/include -I../include +PDP_LIBS = -L/usr/X11R6/lib -lX11 -lXv -lXext -lm -lquicktime -ldl +PDP_AFLAGS = +#--gstabs +PDP_CFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math \ + -Wall -W -Wstrict-prototypes -Werror \ + -Wno-unused -Wno-parentheses -Wno-switch $(PDP_DEFINES)\ + -DPDP_VERSION=\"$(PDP_VERSION)\" \ + -g +# -Wshadow + +# compiler and assembler +#CC = gcc-3.2 +CC = gcc +AS = as + +# build rules + +.c.o: + $(CC) $(PDP_CFLAGS) $(PDP_INCLUDE) -o $*.o -c $*.c +.s.o: + $(AS) -o $*.o $*.s $(PDP_AFLAGS) |