blob: c637a3f047716f1789796dfafd0576202d4805d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- rice_video/Makefile 2008-03-29 14:41:03.000000000 -0500
+++ rice_video/Makefile 2008-05-17 09:40:34.000000000 -0500
@@ -4,8 +4,8 @@
include ../pre.mk
# local CFLAGS, LIBS, and LDFLAGS
-CFLAGS += -DUSE_GTK `sdl-config --cflags` $(GTK_FLAGS) -fpic -DPIC
-LDFLAGS += -L/usr/X11R6/lib `sdl-config --libs` -lGL -shared -Wl,-Bsymbolic
+CFLAGS += -DUSE_GTK $(SDL_FLAGS) $(GTK_FLAGS) -fpic -DPIC
+LDFLAGS += -L$(LOCALBASE)/lib $(SDL_LIBS) -lGL -shared -Wl,-Bsymbolic
# set options
@@ -101,7 +101,7 @@
all: ricevideo.so
ricevideo.so: $(OBJECTS)
- $(LD) $(OBJECTS) $(GTK_LIBS) $(LDFLAGS) -o $@
+ $(CXX) $(OBJECTS) $(GTK_LIBS) $(LDFLAGS) -o $@
$(STRIP) $@
clean:
|