aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorClaudio Matsuoka2001-11-03 06:11:52 +0000
committerClaudio Matsuoka2001-11-03 06:11:52 +0000
commit9cdb642e8301df6b369812fd454108fd47938b12 (patch)
tree5a656a4eb204b8a149d0dd4834aca42f434c16ff /Makefile
parent710c9051a380ae69fb31d6afae7b38357f13b1a8 (diff)
downloadscummvm-rg350-9cdb642e8301df6b369812fd454108fd47938b12.tar.gz
scummvm-rg350-9cdb642e8301df6b369812fd454108fd47938b12.tar.bz2
scummvm-rg350-9cdb642e8301df6b369812fd454108fd47938b12.zip
Replaced config-sdl {--flags,--libs} by the actual parameters, with
no absolute paths, to allow cross-compilation to Cygwin and BeOS. Also made all objects depend on Makefile. svn-id: r3450
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 767bbaa308..5be9a44980 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,11 @@
+# $Id$
+
CC = gcc
CFLAGS = -g -Wno-multichar
DEFINES = -DUNIX
-LDFLAGS := `sdl-config --libs`
-INCLUDES:= `sdl-config --cflags`
+LDFLAGS :=
+INCLUDES:= -ISDL -D_REENTRANT
+LIBS := -lSDL
CPPFLAGS= $(DEFINES) $(INCLUDES)
ZIPFILE := scummvm-`date '+%Y-%m-%d'`.zip
@@ -35,3 +38,6 @@ dist:
check:
$(OBJS): $(INCS)
+
+$(OBJS): Makefile
+