2001-11-09 18:57:46 +00:00
|
|
|
# $Header$
|
2001-11-06 22:59:59 +00:00
|
|
|
|
2002-05-16 06:46:50 +00:00
|
|
|
CC = g++
|
|
|
|
CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
|
2002-05-25 18:35:56 +00:00
|
|
|
DEFINES =
|
2001-12-01 17:44:59 +00:00
|
|
|
LDFLAGS :=
|
2002-05-25 18:50:06 +00:00
|
|
|
INCLUDES:= -I./ -I./sound
|
2002-05-16 06:46:50 +00:00
|
|
|
LIBS = -lncurses
|
|
|
|
|
|
|
|
# Uncomment this to activate the MAD lib for compressed sound files
|
2002-07-25 21:34:06 +00:00
|
|
|
# DEFINES += -DCOMPRESSED_SOUND_FILE
|
|
|
|
# LIBS += -lmad
|
2002-05-16 06:46:50 +00:00
|
|
|
|
|
|
|
# Uncomment this to activate the ALSA lib for midi
|
|
|
|
# DEFINES += -DUSE_ALSA
|
|
|
|
# LIBS += -lasound
|
|
|
|
|
2002-06-17 13:16:51 +00:00
|
|
|
# Now, please choose a graphical output system between SDL, SDL/GL and X11.
|
2002-05-16 06:46:50 +00:00
|
|
|
# Beware, only define one of them, otherwise the compilation will blow up.
|
2001-10-09 14:30:12 +00:00
|
|
|
|
2002-05-16 06:46:50 +00:00
|
|
|
# Comment this if you want to disable SDL output
|
|
|
|
OBJS = sdl.o
|
2002-05-25 18:56:28 +00:00
|
|
|
INCLUDES += `sdl-config --cflags`
|
2002-05-16 06:46:50 +00:00
|
|
|
LIBS += `sdl-config --libs`
|
2002-05-25 18:35:56 +00:00
|
|
|
DEFINES += -DUNIX
|
2002-05-16 06:46:50 +00:00
|
|
|
|
2002-06-17 13:16:51 +00:00
|
|
|
# Uncomment this (instead of the above) to activate the SDL with OpenGL output
|
2002-07-25 21:34:06 +00:00
|
|
|
# OBJS = sdl_gl.o
|
|
|
|
# INCLUDES += `sdl-config --cflags`
|
|
|
|
# LIBS += `sdl-config --libs` -lGL
|
|
|
|
# DEFINES += -DUNIX
|
2002-06-17 13:16:51 +00:00
|
|
|
|
2002-06-07 14:11:29 +00:00
|
|
|
# Uncomment this in addition to the above if you compile on Mac OS X
|
|
|
|
# LIBS += -framework QuickTime -framework AudioUnit
|
|
|
|
# DEFINES += -DMACOSX
|
|
|
|
|
2002-05-16 06:46:50 +00:00
|
|
|
# Uncomment this if you rather want X11 output
|
|
|
|
# OBJS = x11.o
|
2002-07-25 21:34:06 +00:00
|
|
|
# DEFINES += -DUNIX -DX11_BACKEND
|
2002-05-16 06:46:50 +00:00
|
|
|
# LDFLAGS := -L/usr/X11R6/lib -L/usr/local/lib
|
|
|
|
# INCLUDES+= -I/usr/X11R6/include
|
2002-05-16 18:45:58 +00:00
|
|
|
# LIBS += -lpthread -lXext -lX11
|
2002-05-16 06:46:50 +00:00
|
|
|
|
2002-06-07 14:11:29 +00:00
|
|
|
# Enable this if you want ScummVM to dump all scripts it runs.
|
|
|
|
# This is mainly interesting for developers.
|
|
|
|
# DEFINES += -DDUMP_SCRIPTS
|
2002-05-16 06:46:50 +00:00
|
|
|
|
|
|
|
CPPFLAGS= $(DEFINES) $(INCLUDES)
|
2001-10-09 14:30:12 +00:00
|
|
|
|
2002-04-26 13:39:31 +00:00
|
|
|
include Makefile.common
|
2002-04-27 11:06:27 +00:00
|
|
|
|
|
|
|
dist:
|
|
|
|
rm -f $(ZIPFILE)
|
|
|
|
zip -q $(ZIPFILE) $(DISTFILES)
|