graphics

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit e19d217620a40bd2f8e9e641f63c0ae4d82f4dfe
parent 2baf25099fac1489af49d72f47a1446575ed3ec5
Author: Brian Swetland <swetland@frotz.net>
Date:   Thu,  4 Jul 2013 01:15:04 -0700

build: linux: symlink assets instead of copying

Makes it easier to modify assets and re-run while testing.

TODO: Add build option to copy for real
TODO: Asset bundles and bundle creation tool

Diffstat:
Mbuild/app.mk | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/build/app.mk b/build/app.mk @@ -32,11 +32,13 @@ ASSETS := $(addprefix $(OUT)/,$(ASSETS)) $(OUT)/$(M_PATH)/assets/%: $(M_PATH)/assets/% @$(MKDIR) - cp $< $@ + ln -sf "../../../$<" "$@" +# cp $< $@ $(OUT)/$(M_PATH)/assets/%: common/assets/% @$(MKDIR) - cp $< $@ + ln -sf "../../../$<" "$@" +# cp $< $@ M_LIBS := $(addprefix $(OUT_LIB)/,$(M_LIBS)) M_LIBS := $(addsuffix .a,$(M_LIBS))