aboutsummaryrefslogtreecommitdiff
path: root/opengl/Makefile.config
blob: 4e59a4c2e2cd9daaea45940197f89420932c43b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
PD_DIR = /home/tom/pd/distro/pd/src
PDP_DIR = /home/tom/pd/packet/include
PDP_OGL_DIR = /home/tom/pd/packet/opengl/include



CFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer  -ffast-math \
    -Wall -W -Wstrict-prototypes -Werror \
    -Wno-unused -Wno-parentheses -Wno-switch -g

CPPFLAGS = -I$(PD_DIR) -I$(PDP_DIR) -I$(PDP_OGL_DIR) -I/usr/X11R6/include
LDFLAGS =  -lGL -lglut

TARGET=linux

#uncomment these for darwin:
#TARGET=darwin
#CPPFLAGS+=-I/sw/include
#PD_EXECUTABLE=/usr/local/bin/pd
#LDFLAGS =  -lGL -lGLU -lglut -lX11 -L/sw/lib -L/usr/X11R6/lib



.c.o:
	$(CC) $(CFLAGS) $(CPPFLAGS) -o $*.o -c $*.c