| Revision 5633 (by eglebbk, 2005/12/31 16:25:49) |
Added temporary demo game build system.
Running `make depend; make' should correctly build the demo game for DOS, Windows and *nix (possibly including MacOS X), but only tested under Linux.
Dependency generation is rather broken and it doesn't work for non-gcc compilers at the moment.
|
.PRECIOUS: %.o
CC = gcc
CFLAGS = -Wall -O2 -g -Wno-deprecated-declarations -Wno-unused
INCLUDE = -Iinclude
ifdef CPU
CFLAGS += -mcpu=$(CPU)
else
CFLAGS += -mcpu=i686
endif
LIBS = -lalleg -lm
OBJDIR = obj/djgpp/
LIBDIR = lib/djgpp/
EXEDIR = bin/djgpp/
EXESUFFIX = .exe
EXEPREFIX =