1
include $(dir $(lastword $(MAKEFILE_LIST)))../../header.mk
5
resrc_CPPFLAGS := -I$(TOP) -I$(d) $(CPPFLAGS_WX)
11
$(resrc_OBJ): $(d)default_config.h $(d)bitmap.h $(d)default_config.cpp $(d)bitmap.cpp
13
RESPACK := cd $(TOP)src/libresrc; $(TOP)vendor/luajit/src/host/minilua $(TOP)tools/respack.lua
15
$(d)bitmap.cpp: $(d)bitmap.h
16
$(d)default_config.cpp: $(d)default_config.h
18
$(d)bitmap.h: $(TOP)tools/respack.lua $(d)../bitmaps/button
19
$(RESPACK) ../bitmaps/manifest.respack bitmap.cpp bitmap.h
21
ifeq (yes, $(BUILD_DARWIN))
22
$(d)default_config.h: $(TOP)tools/respack.lua $(d)*.json $(d)osx/*.json
23
$(RESPACK) manifest_osx.respack default_config.cpp default_config.h
25
$(d)default_config.h: $(TOP)tools/respack.lua $(d)*.json
26
$(RESPACK) manifest.respack default_config.cpp default_config.h
32
$(d)default_config.cpp \
35
DISTCLEANFILES += $(d)default_config_platform.json
37
include $(TOP)Makefile.target