Skip to content

Commit

Permalink
Add CFLAGS for includes
Browse files Browse the repository at this point in the history
  • Loading branch information
rw-r-r-0644 committed Feb 19, 2019
1 parent 1812559 commit a201442
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion share/romfs-wiiu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ifneq ($(strip $(V)), 1)
endif

ROMFS_LDFLAGS := -lromfs-wiiu
ROMFS_CFLAGS := -I$(DEVKITPRO)/portlibs/wiiu/include

ifneq ($(strip $(ROMFS)),)

Expand All @@ -18,4 +19,4 @@ else

ROMFS_TARGET :=

endif
endif

0 comments on commit a201442

Please sign in to comment.