use iquote for libnx headers on pc (#29)
This commit is contained in:
parent
5731858272
commit
03a4de8c25
@ -27,7 +27,7 @@ test : pc_main/main.cpp pc_main/pc_launch.c \
|
|||||||
build_pc/interuiregular14.o build_pc/interuiregular18.o \
|
build_pc/interuiregular14.o build_pc/interuiregular18.o \
|
||||||
build_pc/invalid_icon.bin.o build_pc/folder_icon.bin.o \
|
build_pc/invalid_icon.bin.o build_pc/folder_icon.bin.o \
|
||||||
build_pc/button_a_light.bin.o build_pc/button_a_dark.bin.o build_pc/button_b_light.bin.o build_pc/button_b_dark.bin.o build_pc/hbmenu_logo_light.bin.o build_pc/hbmenu_logo_dark.bin.o
|
build_pc/button_a_light.bin.o build_pc/button_a_dark.bin.o build_pc/button_b_light.bin.o build_pc/button_b_dark.bin.o build_pc/hbmenu_logo_light.bin.o build_pc/hbmenu_logo_dark.bin.o
|
||||||
gcc -Wall -O2 -g -DVERSION=\"v$(APP_VERSION)\" $(EXTRA_CFLAGS) $^ -lsfml-graphics -lsfml-window -lsfml-system -lstdc++ -lm -lz $(EXTRA_LDFLAGS) -I. -I$(DEVKITPRO)/libnx/include -Ibuild_pc -g -o $@
|
gcc -Wall -O2 -g -DVERSION=\"v$(APP_VERSION)\" $(EXTRA_CFLAGS) $^ -lsfml-graphics -lsfml-window -lsfml-system -lstdc++ -lm -lz $(EXTRA_LDFLAGS) -I. -iquote $(DEVKITPRO)/libnx/include -Ibuild_pc -g -o $@
|
||||||
|
|
||||||
build_pc/tahoma12.o : data/tahoma12.nxfnt
|
build_pc/tahoma12.o : data/tahoma12.nxfnt
|
||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
|
@ -54,7 +54,7 @@ typedef union {
|
|||||||
|
|
||||||
// when building for pc we need to include nro.h separately
|
// when building for pc we need to include nro.h separately
|
||||||
#ifndef __SWITCH__
|
#ifndef __SWITCH__
|
||||||
#include <switch/nro.h>
|
#include "switch/nro.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void menuStartup();
|
void menuStartup();
|
||||||
|
@ -32,6 +32,7 @@ typedef uint32_t in_addr_t;
|
|||||||
|
|
||||||
// having trouble with non blocking sockets & udp on switch currently
|
// having trouble with non blocking sockets & udp on switch currently
|
||||||
#ifndef __SWITCH__
|
#ifndef __SWITCH__
|
||||||
|
#include "switch/runtime/nxlink.h"
|
||||||
#define PING_ENABLED 1
|
#define PING_ENABLED 1
|
||||||
#else
|
#else
|
||||||
#define PING_ENABLED 0
|
#define PING_ENABLED 0
|
||||||
|
Loading…
Reference in New Issue
Block a user