Ticket #7965: Makefile

File Makefile, 576 bytes (added by SF/luke_br, 18 years ago)

Makefile for OpenGL support

Line 
1# $Header: /cvsroot/scummvm/scummvm/Makefile,v 1.41 2002/04/27 16:58:28 ender Exp $
2
3CC = g++
4CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
5#DEFINES = -DUNIX
6# OPENGL support
7DEFINES = -DUNIX -DOPENGL
8
9LDFLAGS :=
10INCLUDES:= `sdl-config --cflags` -I./ -I./sound
11CPPFLAGS= $(DEFINES) $(INCLUDES)
12
13# Add -lmad for -DCOMPRESSED_SOUND_FILE
14#LIBS = `sdl-config --libs` -lncurses
15# OPENGL support
16LIBS = `sdl-config --libs` -lncurses -lGL
17
18OBJS = sdl.o
19
20include Makefile.common
21
22dist:
23 rm -f $(ZIPFILE)
24 zip -q $(ZIPFILE) $(DISTFILES)