-
Notifications
You must be signed in to change notification settings - Fork 15
/
Makefile
55 lines (50 loc) · 968 Bytes
/
Makefile
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
CC=gcc
SDL_CFLAGS = `sdl-config --cflags`
SDL_LIBS = `sdl-config --libs`
CFLAGS=-DMACOSX -Wall $(SDL_CFLAGS)
OBJS=src/actor.o \
src/animations.o \
src/collision.o \
src/debug.o \
src/debug.grid.o \
src/debug.scene.o \
src/extra.o \
src/filereader.o \
src/flamovies.o \
src/gamestate.o \
src/grid.o \
src/holomap.o \
src/hqr.o \
src/interface.o \
src/keyboard.o \
src/lbaengine.o \
src/main.o \
src/menu.o \
src/menuoptions.o \
src/movements.o \
src/music.o \
src/redraw.o \
src/renderer.o \
src/resources.o \
src/sample.o \
src/scene.o \
src/screens.o \
src/script.life.o \
src/script.move.o \
src/sys.o \
src/text.o \
src/utils/fcaseopen.o \
src/utils/xmidi.o \
src/platform_sdl.o \
src/platform_sdl_mixer.o
LIBS=$(SDL_LIBS) -lSDL_mixer -lSDL_ttf -lm
VERSION=v0.3.0
TARGET=bin/twin-e_$(VERSION)
all: $(TARGET)
$(TARGET): $(OBJS)
$(CC) -o $@ $(OBJS) $(LIBS)
.c.o:
$(CC) $(CFLAGS) -c $< -o $@
clean:
@rm $(OBJS)
@rm $(TARGET)