From 9b8745d5250c9d0b60c9aa5a77f58a3fcddf1076 Mon Sep 17 00:00:00 2001 From: Tom Schouten Date: Tue, 21 Jan 2003 10:27:33 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r352, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/pdp/; revision=353 --- Makefile.config | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Makefile.config (limited to 'Makefile.config') 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) -- cgit v1.2.1