Support Nugget and Jaby for make

This commit is contained in:
Jaby
2022-04-24 21:24:35 +02:00
committed by Jaby
parent 1679e3adea
commit cdcb03e20d
4 changed files with 38 additions and 63 deletions

View File

@@ -42,7 +42,11 @@ LDFLAGS += -ltap
LDFLAGS += -lcd
LDFLAGS += -Wl,--end-group
ifdef USE_JABY_MAKE
include Wrapper.mk
else
include $(PCSX_REDUX)/common.mk
endif
fullclean: clean
rm -fr iso/Info/* bin/GlobalLBATable.bin

19
Code/Wrapper.mk Normal file
View File

@@ -0,0 +1,19 @@
#this makefile translates from NUGGET make to JabyMake
ARTIFACT = JabyEngine
BUILD_DIR = bin
ifeq ($(BUILD),Release)
BUILD_PROFILE := release
else
BUILD_PROFILE := debug
endif
CCFLAGS_all := $(CPPFLAGS)
LIBS := $(LDFLAGS)
undefine CPPFLAGS
undefine LDFLAGS
undefine BUILD
#include the real make file
include ../Makefile