From aff92bedaad94a3601183fb11764d218bfb843f6 Mon Sep 17 00:00:00 2001 From: ABelliqueux Date: Tue, 22 Dec 2020 19:41:48 +0100 Subject: [PATCH] add Makefile --- Makefile | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..560ba07 --- /dev/null +++ b/Makefile @@ -0,0 +1,69 @@ +## Hello world +TARGET = hello_world +TYPE = ps-exe + +SRCS = hello_world.c \ +../common/crt0/crt0.s \ + +#~ ## Hello poly +#~ TARGET = hello_poly +#~ TYPE = ps-exe + +#~ SRCS = hello_poly.c \ +#~ ../common/crt0/crt0.s \ + +#~ ## 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 \ +#~ VAG/hello_poly.vag + +#~ ## hello multivag +#~ TARGET = hello_multivag +#~ TYPE = ps-exe + +#~ SRCS = hello_multivag.c \ +#~ ../common/crt0/crt0.s \ +#~ VAG/hello.vag +#~ VAG/poly.vag + + +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 +LDFLAGS += -Wl,--end-group + +include ../common.mk \