From aab92e09bcbd57fa17ac9dc2250bbafc8b258baa Mon Sep 17 00:00:00 2001 From: Kit Swinton Date: Fri, 23 Feb 2024 14:41:47 +1100 Subject: [PATCH] added nf_lib --- Makefile | 4 ++-- source/main.c | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1f06ed9..6f485d0 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ LDFLAGS = -specs=ds_arm9.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) #--------------------------------------------------------------------------------- # any extra libraries we wish to link with the project (order is important) #--------------------------------------------------------------------------------- -LIBS := -lNE -lfat -lnds9 +LIBS := -lNE -lfat -lnds9 -lnflib # automatigically add libraries for NitroFS ifneq ($(strip $(NITRO)),) @@ -66,7 +66,7 @@ endif # list of directories containing libraries, this must be the top level containing # include and lib #--------------------------------------------------------------------------------- -LIBDIRS := $(LIBNDS) $(PORTLIBS) $(DEVKITPRO)/nitro-engine +LIBDIRS := $(LIBNDS) $(PORTLIBS) $(DEVKITPRO)/nitro-engine $(DEVKITPRO)/nflib #--------------------------------------------------------------------------------- # no real need to edit anything past this point unless you need to add additional diff --git a/source/main.c b/source/main.c index 045712f..4faa9f8 100644 --- a/source/main.c +++ b/source/main.c @@ -6,11 +6,13 @@ #include #include +#include +#include #include #include - +#include NE_Camera *Camera; NE_Model *Model;