2021-04-10 14:22:48 +02:00
|
|
|
TARGET = main
|
2021-02-11 16:00:01 +01:00
|
|
|
TYPE = ps-exe
|
|
|
|
|
2021-04-10 14:22:48 +02:00
|
|
|
SRCS = main.c \
|
2021-04-18 23:41:28 +02:00
|
|
|
pad.c \
|
2021-04-10 14:22:48 +02:00
|
|
|
math.c \
|
|
|
|
camera.c \
|
|
|
|
physics.c \
|
|
|
|
graphics.c \
|
|
|
|
psx.c \
|
|
|
|
space.c \
|
2021-04-15 18:18:39 +02:00
|
|
|
levels/level0.c \
|
2021-04-14 15:56:14 +02:00
|
|
|
levels/level1.c \
|
2021-02-11 16:00:01 +01:00
|
|
|
../common/crt0/crt0.s \
|
|
|
|
TIM/home.tim \
|
2021-03-24 11:22:30 +01:00
|
|
|
TIM/cat.tim \
|
|
|
|
TIM/lara.tim \
|
|
|
|
TIM/bg_camPath.tim \
|
|
|
|
TIM/bg_camPath_001.tim \
|
|
|
|
TIM/bg_camPath_002.tim \
|
|
|
|
TIM/bg_camPath_003.tim \
|
|
|
|
TIM/bg_camPath_004.tim \
|
|
|
|
TIM/bg_camPath_005.tim \
|
2021-04-03 15:18:40 +02:00
|
|
|
|
2021-04-14 15:56:14 +02:00
|
|
|
OVERLAYSCRIPT ?= overlay.ld
|
2021-04-15 18:18:39 +02:00
|
|
|
OVERLAYSECTION ?= .lvl0 .lvl1
|
2021-04-13 16:52:48 +02:00
|
|
|
|
2021-03-24 11:22:30 +01:00
|
|
|
# img2tim -t -bpp 8 -org 320 0 -plt 0 481 -o bg.tim bg.png
|
2021-02-11 16:00:01 +01:00
|
|
|
|
|
|
|
CPPFLAGS += -I../psyq/include
|
|
|
|
LDFLAGS += -L../psyq/lib
|
|
|
|
LDFLAGS += -Wl,--start-group
|
|
|
|
LDFLAGS += -lapi
|
|
|
|
LDFLAGS += -lc
|
|
|
|
LDFLAGS += -lc2
|
|
|
|
LDFLAGS += -lcard
|
|
|
|
LDFLAGS += -lcomb
|
|
|
|
LDFLAGS += -lds
|
|
|
|
LDFLAGS += -letc
|
|
|
|
LDFLAGS += -lgpu
|
|
|
|
LDFLAGS += -lgs
|
|
|
|
LDFLAGS += -lgte
|
|
|
|
LDFLAGS += -lgun
|
|
|
|
LDFLAGS += -lhmd
|
|
|
|
LDFLAGS += -lmath
|
|
|
|
LDFLAGS += -lmcrd
|
|
|
|
LDFLAGS += -lmcx
|
|
|
|
LDFLAGS += -lpad
|
|
|
|
LDFLAGS += -lpress
|
|
|
|
LDFLAGS += -lsio
|
|
|
|
LDFLAGS += -lsnd
|
|
|
|
LDFLAGS += -lspu
|
|
|
|
LDFLAGS += -ltap
|
2021-04-14 15:56:14 +02:00
|
|
|
LDFLAGS += -lcd
|
2021-02-11 16:00:01 +01:00
|
|
|
LDFLAGS += -Wl,--end-group
|
|
|
|
|
|
|
|
include ../common.mk \
|