blob: a51dc4d34ffdb832c956a8f0809fdb7afc870653 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- Makefile.orig 2008-11-09 18:39:41.000000000 +0300
+++ Makefile 2008-11-12 21:34:21.000000000 +0300
@@ -2,13 +2,12 @@
#append -DWITH_WIIUSE to compile with WIIUSE support!
#append -DNOSOUND to compile WITHOUT sound support
-CC=g++ -DDATADIR="\"$(DATADIR)\""
-CFLAGS+=-c -Wall
+CFLAGS+=-c -Wall -DDATADIR="\"$(DATADIR)\"" `${SDL_CONFIG} --cflags`
#append -lwiiuse to compile with WIIUSE support
#remove -lSDL_mixer if compiling with -DNOSOUND
-LDFLAGS+=-lGL -lGLU -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer
+LDFLAGS+=-lGL -lGLU `${SDL_CONFIG} --libs` -lSDL_image -lSDL_ttf -lSDL_mixer
SOURCES=main.cpp
OBJECTS=$(SOURCES:.cpp=.o)
|