added nf_lib

trunk
Kit Swinton 2024-02-23 14:41:47 +11:00
parent ffc7e9a1d2
commit aab92e09bc
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -6,11 +6,13 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <nds.h>
#include <filesystem.h>
#include <NEMain.h>
#include <nf_lib.h>
NE_Camera *Camera;
NE_Model *Model;