diff options
Diffstat (limited to 'libpsn00b/psxgpu/makefile')
| -rw-r--r-- | libpsn00b/psxgpu/makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libpsn00b/psxgpu/makefile b/libpsn00b/psxgpu/makefile index 5eb6265..7a7de5d 100644 --- a/libpsn00b/psxgpu/makefile +++ b/libpsn00b/psxgpu/makefile @@ -2,7 +2,7 @@ # Part of the PSn00bSDK Project # 2019 Lameguy64 / Meido-Tek Productions -PREFIX = mipsel-unknown-elf- +include ../common.mk TARGET = ../libpsxgpu.a @@ -10,10 +10,8 @@ CFILES = $(notdir $(wildcard ./*.c)) AFILES = $(notdir $(wildcard ./*.s)) OFILES = $(addprefix build/,$(CFILES:.c=.o) $(AFILES:.s=.o)) -INCLUDE = -I../include - -CFLAGS = -O2 -msoft-float -fno-builtin -Wa,--strip-local-absolute -AFLAGS = -msoft-float -Wa,--strip-local-absolute +CFLAGS = -g -O2 -msoft-float -fno-builtin -Wa,--strip-local-absolute +AFLAGS = -g -msoft-float -Wa,--strip-local-absolute CC = $(PREFIX)gcc AS = $(PREFIX)as |
