aboutsummaryrefslogtreecommitdiff
path: root/examples/system/childexec/makefile
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-09-19 20:43:05 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-09-19 20:43:05 +0800
commit9f4891f95070c66ea9f1aba99d72724d4ab24e5a (patch)
tree723e3ef2118a3d1a9e6dafa811ed1b8b1bc9196e /examples/system/childexec/makefile
parent6762c39551ded059450d17d8bb0cb80642c8aaab (diff)
downloadpsn00bsdk-9f4891f95070c66ea9f1aba99d72724d4ab24e5a.tar.gz
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()
Diffstat (limited to 'examples/system/childexec/makefile')
-rw-r--r--examples/system/childexec/makefile8
1 files changed, 4 insertions, 4 deletions
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 $@)