From 0d4345a9bf2623df079c50a3bc73cbb7deca1176 Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Wed, 17 Jul 2019 11:30:07 +0800 Subject: Added C++ support, updated build instructions and makefiles, consolidated libc and libgcc (during build process), libraries now v0.12b and more --- libpsn00b/psxapi/makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libpsn00b/psxapi/makefile') diff --git a/libpsn00b/psxapi/makefile b/libpsn00b/psxapi/makefile index e97451c..49db884 100644 --- a/libpsn00b/psxapi/makefile +++ b/libpsn00b/psxapi/makefile @@ -2,7 +2,7 @@ # Part of the PSn00bSDK Project # 2019 Lameguy64 / Meido-Tek Productions -PREFIX = mipsel-unknown-elf- +include ../common.mk TARGET = ../libpsxapi.a @@ -11,9 +11,7 @@ SOURCES = stdio fs sys pad AFILES = $(foreach dir,$(SOURCES),$(wildcard $(dir)/*.s)) OFILES = $(addprefix build/,$(AFILES:.s=.o)) -INCLUDE = -I../include - -AFLAGS = -msoft-float -Wa,--strip-local-absolute +AFLAGS = -g -msoft-float -Wa,--strip-local-absolute CC = $(PREFIX)gcc AS = $(PREFIX)as -- cgit v1.2.3