scummvm/Makefile

42 lines
1.0 KiB
Makefile
Raw Normal View History

2001-11-09 18:57:46 +00:00
# $Header$
CC = g++
CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
DEFINES = -DUNIX
2001-12-01 17:44:59 +00:00
LDFLAGS :=
INCLUDES:= `sdl-config --cflags` -I./ -I./sound
LIBS = -lncurses
# Uncomment this to activate the MAD lib for compressed sound files
# DEFINES += -DCOMPRESSED_SOUND_FILE
# LIBS += -lmad
# Uncomment this to activate the ALSA lib for midi
# DEFINES += -DUSE_ALSA
# LIBS += -lasound
2002-04-05 04:35:41 +00:00
# Now, please choose a graphical output system between SDL and X11.
# Beware, only define one of them, otherwise the compilation will blow up.
2001-10-09 14:30:12 +00:00
# Comment this if you want to disable SDL output
OBJS = sdl.o
INCLUDE += `sdl-config --cflags`
LIBS += `sdl-config --libs`
# Uncomment this if you rather want X11 output
# OBJS = x11.o
# DEFINES += -DUNIX_X11
# LDFLAGS := -L/usr/X11R6/lib -L/usr/local/lib
# INCLUDES+= -I/usr/X11R6/include
# LIBS += -lpthread -lXext -lX11
CPPFLAGS= $(DEFINES) $(INCLUDES)
2001-10-09 14:30:12 +00:00
include Makefile.common
dist:
rm -f $(ZIPFILE)
zip -q $(ZIPFILE) $(DISTFILES)