File: Makefile.MorphOS

package info (click to toggle)
exult 1.2-4
  • links: PTS
  • area: contrib
  • in suites: sarge
  • size: 9,040 kB
  • ctags: 10,543
  • sloc: cpp: 99,373; sh: 8,333; ansic: 4,659; makefile: 988; yacc: 769; lex: 313; xml: 19
file content (30 lines) | stat: -rw-r--r-- 848 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Exult makefile for use with MorphOS and AmigaOS
# based on the Be makefile

# Base of the exult source
SRC=.

### Modify these paths
SDL_CFLAGS=-I/gg/os-include/sdl
SDL_LIBS=-lsdl -ldebug

CPPFLAGS=-DVERSION=\"$(VERSION)\" -DEXULT_DATADIR=\"PROGDIR:data\" -DNDEBUG \
	-DHAVE_ZIP_SUPPORT -DEX_TYPE_INT16=short -DEX_TYPE_INT32=int -I$(SRC)/files/zip \
	-I$(SRC)/imagewin -I$(SRC)/shapes -I$(SRC)/data -I$(SRC)/tools \
	-I$(SRC)/files -I$(SRC) -I$(SRC)/audio -I$(SRC)/conf \
	-I$(SRC)/gumps -I$(SRC)/objs -I$(SRC)/pathfinder -I$(SRC)/usecode \
	-DHAVE_SNPRINTF $(SDL_CFLAGS)
CXXFLAGS=-O2 -fsigned-char -Wall

LFLAGS=-noixemul
LIBS=$(SDL_LIBS) -lz

EXEC=exult

MIDI_DRV_OBJS=audio/midi_drivers/amiga_midi.o
# unused: KMIDI.o Timidity_binary.o forked_player.o win_MCI.o

include Makefile.common

.cc.o:
	$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $(<) -o $*.o