-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
59 lines (44 loc) · 1.31 KB
/
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
56
57
58
59
-include ../config.mk
GAME = edwin
LSCRIPT = link.lds
ORIGBIN = bin.dat
INBIN = bin.o
ALIGNMENT = 0x0200
IMPORT = 1 0x140000 3308
INCLUDES = -Iinc/ -I../shared/inc/
LIBS = -nostdlib
OBJS = \
src/edwin.ini-func.o \
src/edwin.ini.o \
src/limit_cpu_usage.o \
src/show_tilebrowser_hotkey.o \
src/cut_selected_area.o \
src/single_proc_affinity.o \
src/keep_rules_ini_mods.o \
src/window_procedure.o \
src/no_disk_space_error.o \
src/custom_mix_names.o \
src/multiple_instances.o \
src/change_window_title.o \
src/slower_scrollrate.o \
src/hires.o \
src/load_map_command_line.o \
src/theaters.o \
src/crash_fixes.o \
src/longer_filenames.o \
src/improved_error_messages.o \
\
watcall.o \
sym.o \
res/res.o
DLL_OBJS = bin.o # now this is a hack
.PHONY: default
default: $(GAME).exe
$(INBIN):
$(PETOOL) pe2obj $(ORIGBIN) $(INBIN)
$(GAME).exe: .dump-.patch-.import-.$(GAME).exe
$(CP) $< $@
pure-$(GAME).exe: .dump-.import-.pure-$(GAME).exe
$(CP) $< $@
include ./generic.mk
WFLAGS += -Ires/ -I../shared/res/