added nf_lib
parent
ffc7e9a1d2
commit
aab92e09bc
4
Makefile
4
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)
|
# 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
|
# automatigically add libraries for NitroFS
|
||||||
ifneq ($(strip $(NITRO)),)
|
ifneq ($(strip $(NITRO)),)
|
||||||
|
@ -66,7 +66,7 @@ endif
|
||||||
# list of directories containing libraries, this must be the top level containing
|
# list of directories containing libraries, this must be the top level containing
|
||||||
# include and lib
|
# 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
|
# no real need to edit anything past this point unless you need to add additional
|
||||||
|
|
|
@ -6,11 +6,13 @@
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include <nds.h>
|
||||||
#include <filesystem.h>
|
#include <filesystem.h>
|
||||||
|
|
||||||
#include <NEMain.h>
|
#include <NEMain.h>
|
||||||
|
#include <nf_lib.h>
|
||||||
|
|
||||||
NE_Camera *Camera;
|
NE_Camera *Camera;
|
||||||
NE_Model *Model;
|
NE_Model *Model;
|
||||||
|
|
Loading…
Reference in New Issue