mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
28 lines
698 B
Makefile
28 lines
698 B
Makefile
# -*- mode: Makefile; -*-
|
|
|
|
$(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," \
|
|
< $< > $@
|
|
|
|
$(DEST_PATH)/%.h : $(SRC_PATH)/%.h
|
|
@sed \
|
|
-e "s,\(^.*org/eehouse/android/\)xw4\(.*$$\),\1$(VARIANT)\2," \
|
|
< $< > $@
|
|
|
|
$(DEST_PATH)/%.c : $(SRC_PATH)/%.c
|
|
@sed \
|
|
-e "s,\(^.*Java_org_eehouse_android_\)xw4\(.*$$\),\1$(VARIANT)\2," \
|
|
< $< > $@
|
|
|
|
$(DEST_PATH)/% : $(SRC_PATH)/%
|
|
@cp $< $@
|