nolibgs_hello_worlds/Makefile

142 lines
2.3 KiB
Makefile
Raw Normal View History

2020-12-27 19:30:21 +01:00
## Hello world
2020-12-24 20:10:47 +01:00
TARGET = hello_world
TYPE = ps-exe
2020-12-22 19:41:48 +01:00
2020-12-24 20:10:47 +01:00
SRCS = hello_world.c \
../common/crt0/crt0.s \
2020-12-22 19:41:48 +01:00
2021-05-04 16:39:59 +02:00
#~ ## Hello tile
2020-12-23 12:15:12 +01:00
#~ TARGET = hello_tile
#~ TYPE = ps-exe
#~ SRCS = hello_tile.c \
#~ ../common/crt0/crt0.s \
2020-12-24 20:10:47 +01:00
#~ ## Hello pad
#~ TARGET = hello_pad
#~ TYPE = ps-exe
2020-12-23 16:09:30 +01:00
2020-12-24 20:10:47 +01:00
#~ SRCS = hello_pad.c \
#~ ../common/crt0/crt0.s \
2021-05-04 16:39:59 +02:00
#~ ## Hello pad 2
2020-12-24 20:10:47 +01:00
#~ TARGET = hello_2pads
#~ TYPE = ps-exe
#~ SRCS = hello_2pads.c \
#~ ../common/crt0/crt0.s \
2020-12-23 16:09:30 +01:00
2021-05-04 16:39:59 +02:00
#~ ## Hello poly
2020-12-22 19:41:48 +01:00
#~ TARGET = hello_poly
#~ TYPE = ps-exe
#~ SRCS = hello_poly.c \
#~ ../common/crt0/crt0.s \
2020-12-24 20:10:47 +01:00
#~ ## Hello textured
#~ TARGET = hello_poly_ft
#~ TYPE = ps-exe
#~ SRCS = hello_poly_ft.c \
#~ ../common/crt0/crt0.s \
#~ TIM/bousai.tim \
2020-12-29 13:02:37 +01:00
#~ ## Hello shaded textured
2020-12-24 20:10:47 +01:00
#~ TARGET = hello_poly_gt
#~ TYPE = ps-exe
#~ SRCS = hello_poly_gt.c \
#~ ../common/crt0/crt0.s \
#~ TIM/bousai.tim \
2020-12-29 13:02:37 +01:00
#~ ## Hello shaded window textured
#~ TARGET = hello_poly_gt_tw
#~ TYPE = ps-exe
#~ SRCS = hello_poly_gt_tw.c \
#~ ../common/crt0/crt0.s \
#~ TIM/bousai.tim \
2020-12-22 19:41:48 +01:00
#~ ## Hello sprt
#~ TARGET = hello_sprt
#~ TYPE = ps-exe
#~ SRCS = hello_sprt.c \
#~ ../common/crt0/crt0.s \
#~ TIM/TIM16.tim \
#~ TIM/TIM8.tim \
#~ TIM/TIM4.tim \
#~ ## hello vag
#~ TARGET = hello_vag
#~ TYPE = ps-exe
#~ SRCS = hello_vag.c \
#~ ../common/crt0/crt0.s \
2021-05-04 16:39:59 +02:00
#~ VAG/hello_poly.vag \
2020-12-22 19:41:48 +01:00
#~ ## hello multivag
#~ TARGET = hello_multivag
#~ TYPE = ps-exe
#~ SRCS = hello_multivag.c \
#~ ../common/crt0/crt0.s \
2021-05-04 16:39:59 +02:00
#~ VAG/hello.vag \
#~ VAG/poly.vag \
2020-12-22 19:41:48 +01:00
2021-05-04 16:39:59 +02:00
#~ ## Poly fun !
2020-12-24 20:10:47 +01:00
#~ TARGET = fun_with_poly
#~ TYPE = ps-exe
#~ SRCS = fun_with_poly.c \
#~ ../common/crt0/crt0.s \
2021-01-05 12:18:27 +01:00
#~ TARGET = hello_cube
#~ TYPE = ps-exe
2020-12-24 20:10:47 +01:00
2021-01-05 12:18:27 +01:00
#~ SRCS = hello_cube.c \
#~ ../common/crt0/crt0.s \
2020-12-22 19:41:48 +01:00
2021-01-05 12:31:12 +01:00
#~ TARGET = hello_cubetex
#~ TYPE = ps-exe
#~ SRCS = hello_cubetex.c \
#~ ../common/crt0/crt0.s \
#~ TIM/cubetex.tim \
2021-05-04 16:39:59 +02:00
#~ ## Hello sio
#~ TARGET = hello_sio
#~ TYPE = ps-exe
#~ SRCS = hello_sio.c \
#~ ../common/crt0/crt0.s \
2020-12-22 19:41:48 +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-05-04 16:39:59 +02:00
LDFLAGS += -lcd
2020-12-22 19:41:48 +01:00
LDFLAGS += -Wl,--end-group
include ../common.mk \