forked from yuv422/cosmo-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.nxdk
55 lines (47 loc) · 1.07 KB
/
Makefile.nxdk
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
XBE_TITLE = CosmosCosmicAdventure
GEN_XISO = $(XBE_TITLE).iso
NXDK_SDL = y
LDFLAGS += -stack:131072
SRCS += src/actor.c \
src/actor_collision.c \
src/actor_toss.c \
src/actor_worktype.c \
src/b800.c \
src/backdrop.c \
src/cartoon.c \
src/config.c \
src/demo.c \
src/dialog.c \
src/effects.c \
src/font.c \
src/fullscreen_image.c \
src/game.c \
src/high_scores.c \
src/input.c \
src/main.c \
src/map.c \
src/palette.c \
src/platforms.c \
src/player.c \
src/save.c \
src/status.c \
src/tile.c \
src/util.c \
src/video.c \
src/files/file.c \
src/files/vol.c \
src/files/file.c \
src/sound/audio.c \
src/sound/music.c \
src/sound/opl.c \
src/sound/sfx.c
CFLAGS += -I$(CURDIR)/src \
-O2 -Wall
include xbox/Makefile-SDL_mixer
new_all: copy_resources all
include $(NXDK_DIR)/Makefile
copy_resources:
@mkdir -p $(OUTPUT_DIR)
@mkdir -p $(OUTPUT_DIR)/game_data
@cp $(CURDIR)/data/gamecontrollerdb.txt $(OUTPUT_DIR)/game_data/
@cp $(CURDIR)/LICENSE $(OUTPUT_DIR)/LICENSE.txt