mirror of
https://github.com/Ty3r0X/funni-square.git
synced 2025-03-09 14:49:19 +00:00
Initial Wii U port attempt
This commit is contained in:
parent
1bf8a01ac5
commit
bc138f7a7b
6
Makefile
6
Makefile
@ -1,4 +1,10 @@
|
||||
.SUFFIXES:
|
||||
|
||||
ifeq ($(strip $(DEVKITPRO)),)
|
||||
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>/devkitpro")
|
||||
endif
|
||||
|
||||
include $(DEVKITPRO)/wut/share/wut_rules
|
||||
include config.mk
|
||||
|
||||
OBJ := $(SRC:.c=.o)
|
||||
|
@ -17,15 +17,16 @@ SRC :=\
|
||||
src/init.c \
|
||||
src/main.c
|
||||
|
||||
LIBDIR :=
|
||||
LIBDIR := $(PORTLIBS) $(WUT_ROOT)
|
||||
LIB :=\
|
||||
c\
|
||||
SDL2\
|
||||
wut
|
||||
|
||||
INCDIR :=\
|
||||
src/
|
||||
|
||||
OUT := project
|
||||
OUT := project.rpx
|
||||
|
||||
# Conditionals / Appends
|
||||
LDFLAGS +=\
|
||||
@ -33,7 +34,8 @@ LDFLAGS +=\
|
||||
$(addprefix -l,${LIB})
|
||||
|
||||
CFLAGS +=\
|
||||
$(addprefix -I,${INCDIR})
|
||||
$(addprefix -I,${INCDIR})\
|
||||
$(INCLUDE) -D__WIIU__ -D__WUT__
|
||||
|
||||
ifeq (${DEBUG},1)
|
||||
CFLAGS += -g
|
||||
|
Loading…
Reference in New Issue
Block a user