diff --git a/README.md b/README.md index 0b9d47b..1f9ed5d 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Then, include romfs's makefile and add romfs target to your linking targets alon include $(DEVKITPRO)/portlibs/wiiu/share/romfs-wiiu.mk OBJECTS += $(ROMFS_TARGET) LDFLAGS += $(ROMFS_LDFLAGS) + CFLAGS += $(ROMFS_CFLAGS) ### Installing A prebuild version is available at the wiiu-fling pacman repository. diff --git a/share/romfs-wiiu.mk b/share/romfs-wiiu.mk index 8436216..981b13e 100644 --- a/share/romfs-wiiu.mk +++ b/share/romfs-wiiu.mk @@ -3,6 +3,7 @@ ifneq ($(strip $(V)), 1) endif ROMFS_LDFLAGS := -lromfs-wiiu +ROMFS_CFLAGS := -I$(DEVKITPRO)/portlibs/wiiu/include ifneq ($(strip $(ROMFS)),) @@ -18,4 +19,4 @@ else ROMFS_TARGET := -endif \ No newline at end of file +endif