diff --git a/common.mk b/common.mk index f3ac6d4..b184cea 100644 --- a/common.mk +++ b/common.mk @@ -7,6 +7,9 @@ SRCS += $(THISDIR)thirdparty/nugget/common/crt0/crt0.s CPPFLAGS += -I$(THISDIR)thirdparty/nugget/psyq/include -I$(THISDIR)psyq-4_7-converted/include -I$(THISDIR)psyq-4.7-converted-full/include -I$(THISDIR)psyq/include LDFLAGS += -L$(THISDIR)thirdparty/nugget/psyq/lib -L$(THISDIR)psyq-4_7-converted/lib -L$(THISDIR)psyq-4.7-converted-full/lib -L$(THISDIR)psyq/lib +# add support for NDR008's VScode setup +CPPFLAGS += -I$(THISDIR)../third_party/psyq/include +LDFLAGS += -L$(THISDIR)../third_party/psyq/lib LDFLAGS += -Wl,--start-group LDFLAGS += -lapi LDFLAGS += -lc