2012-02-13 06:22:36 +01:00
|
|
|
# -*- mode: Makefile; -*-
|
2012-02-14 07:25:27 +01:00
|
|
|
|
|
|
|
$(DEST_PATH)/%.java : $(SRC_PATH)/%.java
|
|
|
|
@sed \
|
|
|
|
-e "s,\(package org.eehouse.android.\)xw4\(.*\);,\1$(VARIANT)\2;," \
|
|
|
|
-e "s,\(import org.eehouse.android.\)xw4\(.*\);,\1$(VARIANT)\2;," \
|
|
|
|
< $< > $@
|
|
|
|
|
|
|
|
$(DEST_PATH)/%.png : $(SRC_PATH)/%.png
|
|
|
|
@cp $< $@
|
|
|
|
|
|
|
|
$(DEST_PATH)/%.xml : $(SRC_PATH)/%.xml
|
|
|
|
@sed \
|
|
|
|
-e "s,\(^.*org.eehouse.android.\)xw4\(.*$$\),\1$(VARIANT)\2," \
|
2012-08-30 16:00:26 +02:00
|
|
|
-e "s,Crosswords,$(APPNAME),g" \
|
2012-02-14 07:25:27 +01:00
|
|
|
< $< > $@
|
|
|
|
|
|
|
|
$(DEST_PATH)/%.h : $(SRC_PATH)/%.h
|
2012-02-14 08:35:41 +01:00
|
|
|
@sed \
|
2012-02-14 07:25:27 +01:00
|
|
|
-e "s,\(^.*org/eehouse/android/\)xw4\(.*$$\),\1$(VARIANT)\2," \
|
|
|
|
< $< > $@
|
|
|
|
|
2012-02-14 08:35:41 +01:00
|
|
|
$(DEST_PATH)/%.c : $(SRC_PATH)/%.c
|
|
|
|
@sed \
|
|
|
|
-e "s,\(^.*Java_org_eehouse_android_\)xw4\(.*$$\),\1$(VARIANT)\2," \
|
|
|
|
< $< > $@
|
|
|
|
|
2014-02-11 03:32:00 +01:00
|
|
|
$(DEST_PATH)/%.jar : $(SRC_PATH)/%.jar
|
|
|
|
@cp $< $@
|
|
|
|
|
2012-02-14 07:25:27 +01:00
|
|
|
$(DEST_PATH)/% : $(SRC_PATH)/%
|
|
|
|
@cp $< $@
|