mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
309fcece03
I balked at writing code consisting of a bunch of classes there only to provide a mapping to resource file IDs, instead opting to generate them. (The right move might have been to generate everything from the old xwprefs.xml, but it's too late for that. :-)
18 lines
365 B
Makefile
18 lines
365 B
Makefile
# -*- mode: Makefile -*-
|
|
|
|
SRCS = $(wildcard ./app/src/main/res/xml/prefs*.xml)
|
|
TARGET = ./app/src/main/java/org/eehouse/android/xw4/gen/PrefsWrappers.java
|
|
PREFS_WRAPPER_GEN = ./scripts/genPrefsWrapper.sh
|
|
|
|
.PHONY: all clean
|
|
|
|
RES_SRC = ./res_src
|
|
RES_DEST = ./app/src/main/res
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): $(SRCS)
|
|
$(PREFS_WRAPPER_GEN) $^ > $@
|
|
|
|
clean:
|
|
rm -f $(TARGET)
|