-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
90 lines (55 loc) · 1.66 KB
/
Makefile
File metadata and controls
90 lines (55 loc) · 1.66 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# vim: ft=make noexpandtab
SCREENSAVER=1
OPENMP=1
VDP=1
#WING=1
C_FILES := src/main.c src/demos.c $(wildcard src/dm_*.c)
RETROFLAT_DOS_MEM_LARGE=1
LIBS_GCC := -lm
#DEFINES_WATCOM := -DRETROFLAT_SOFT_SHAPES
#DEFINES_GCC := -DRETROFLAT_SOFT_SHAPES
CFLAGS_OPT_GCC_NDS += -DMDEMO_NO_OPTIONS
GLOBAL_DEFINES += -DRETROFLAT_NO_STRING
#GLOBAL_DEFINES += -DRETROCON_DISABLE
#GLOBAL_DEFINES += -DRETROCON_TRACE_LVL=1
#GLOBAL_DEFINES += -DRETROGUI_TRACE_LVL=1
#GLOBAL_DEFINES += -DRETROFLAT_NO_RETROGXC
#GLOBAL_DEFINES += -DRETROFLAT_NO_CLI
#GLOBAL_DEFINES += -DMFILE_TRACE_LVL=1
# Sphere
#GLOBAL_DEFINES += -DMDEMO_FORCE_DEMO=1
# Retroani
#GLOBAL_DEFINES += -DMDEMO_FORCE_DEMO=5
include maug/Makefile.inc
# Target-specific options.
.PHONY: clean
all: mdemo.$(MAUG_UNIX).ale mdemo.$(MAUG_UNIX).sdl mdemod.exe mdemow.exe mdemont.exe mdemo.html mdemo64.exe mdemontg.exe mdemow3.exe mdemob.exe
$(eval $(call MVFS,unscii_8.hex))
$(eval $(call TGTNDSLIBN,mdemo,mdemo.bmp))
$(eval $(call TGTWIILIBO,mdemo))
$(eval $(call TGTMAC68K,mdemo))
# Unix (Allegro)
$(eval $(call TGTUNIXALE,mdemo))
# Unix (SDL)
$(eval $(call TGTSDLICO,mdemo))
$(eval $(call TGTUNIXSDL,mdemo))
# WASM
$(eval $(call TGTWASMSDL,mdemo))
# DOS
$(eval $(call TGTDOSALE,mdemo))
$(eval $(call TGTDOSGAL,mdemo))
$(eval $(call TGTDOSBIOS,mdemo))
# Win386
$(eval $(call TGTWINICO,mdemo))
$(eval $(call TGTWIN386,mdemo))
$(eval $(call TGTWIN16,mdemo))
# WinNT
$(eval $(call TGTWINNT,mdemo))
$(eval $(call TGTWINNTGCC,mdemo))
$(eval $(call TGTWIN64GCC,mdemo))
$(eval $(call TGT_CECL_WINCE_SH3,mdemo))
$(eval $(call TGT_CECL_WINCE_MIPS,mdemo))
$(eval $(call TGT_CECL_WINCE_X86,mdemo))
# Clean
clean:
rm -rf $(CLEAN_TARGETS)