From 9f4891f95070c66ea9f1aba99d72724d4ab24e5a Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Sat, 19 Sep 2020 20:43:05 +0800 Subject: Revised makefiles, added strtok(), command line arguments, SetHeapSize(), moved ISR and callback system to psxetc, moved debug font to psxgpu, fixed CD-ROM library crashing on PSIO, fixed interrupt callback setup to fix crashing on ResetGraph() --- examples/system/childexec/makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/system/childexec/makefile') diff --git a/examples/system/childexec/makefile b/examples/system/childexec/makefile index 79a27b6..4475832 100644 --- a/examples/system/childexec/makefile +++ b/examples/system/childexec/makefile @@ -1,9 +1,9 @@ -include ../../sdk-common.mk +include ../../examples-setup.mk INCLUDE += LIBDIRS += -LIBS = -lpsxetc -lpsxgpu -lpsxgte -lpsxspu -lc -lpsxapi +LIBS = -lpsxgpu -lpsxgte -lpsxspu -lpsxetc -lpsxapi -lc CFLAGS = -g -O2 -fno-builtin -fdata-sections -ffunction-sections CPPFLAGS = $(CFLAGS) -fno-exceptions @@ -20,11 +20,11 @@ all: child parent child: build/child.o $(LD) $(LDFLAGS_C) $(LIBDIRS) build/child.o $(LIBS) -o child.elf - elf2x child.elf + elf2x -q child.elf parent: build/parent.o build/child_exe.o $(LD) $(LDFLAGS_P) $(LIBDIRS) build/parent.o build/child_exe.o $(LIBS) -o parent.elf - elf2x parent.elf + elf2x -q parent.elf build/%.o: %.c @mkdir -p $(dir $@) -- cgit v1.2.3