-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile.am
57 lines (50 loc) · 1.16 KB
/
Makefile.am
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
56
57
## Process this file with automake to produce Makefile.in
##AM_CFLAGS=@CFLAGS@
bin_PROGRAMS = freedroid
EXTRA_PROGRAMS = freedroidDebug
if WIN32
win32_res = freedroid.rc
freedroid_LDADD = freedroid.coff
else
win32_res =
endif
freedroid_SOURCES = \
BFont.c \
BFont.h \
bullet.c \
config.h \
defs.h \
enemy.c \
global.h \
graphics.c \
highscore.c \
influ.c \
init.c \
input.c \
level_editor.c \
main.c \
map.c \
map.h \
maped.h \
menu.c \
misc.c \
proto.h \
ship.c \
sound.c \
struct.h \
system.h \
takeover.c \
takeover.h \
text.c \
text.h \
vars.h \
view.c \
$(win32_res)
## clang santizer flags: turn on clang's memory-leak sanitizer, see https://clang.llvm.org/docs/AddressSanitizer.html
freedroidDebug_CFLAGS = $(AM_CFLAGS) -g3 -Og -fsanitize=address,undefined -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-common
freedroidDebug_SOURCES = $(freedroid_SOURCES)
freedroid_CPPFLAGS = -DLOCAL_DATADIR=\"$(top_srcdir)\"
freedroidDebug_CPPFLAGS = $(freedroid_CPPFLAGS)
WINDRES = i586-mingw32msvc-windres
freedroid.coff: freedroid.rc ../graphics/paraicon.ico
$(WINDRES) -i freedroid.rc -o freedroid.coff -O COFF