mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
72 lines
2.2 KiB
Makefile
72 lines
2.2 KiB
Makefile
# -*- mode: makefile; -*-
|
|
|
|
# SRC = \
|
|
# ../src/helloworldbasic.cpp \
|
|
# ../src/helloworldbasicapplication.cpp \
|
|
# ../src/helloworldbasicappui.cpp \
|
|
# ../src/helloworldbasicappview.cpp \
|
|
# ../src/helloworldbasicdocument.cpp \
|
|
|
|
# INC = \
|
|
# ../inc/helloworldbasic.hrh \
|
|
# ../inc/helloworldbasic.pan \
|
|
# ../inc/helloworldbasicapplication.h \
|
|
# ../inc/helloworldbasicappui.h \
|
|
# ../inc/helloworldbasicappview.h \
|
|
# ../inc/helloworldbasicdocument.h \
|
|
|
|
BLDMAKE_FLAGS = -v
|
|
|
|
all: wins
|
|
|
|
wins:
|
|
bldmake $(BLDMAKE_FLAGS) bldfiles
|
|
abLD.BAT build $(BLDMAKE_FLAGS) wins udeb
|
|
|
|
armi_bld:
|
|
bldmake $(BLDMAKE_FLAGS) bldfiles
|
|
abLD.BAT build $(BLDMAKE_FLAGS) armi urel
|
|
|
|
# armi:
|
|
# bldmake $(BLDMAKE_FLAGS) bldfiles
|
|
# abLD.BAT build $(BLDMAKE_FLAGS) armi udeb
|
|
|
|
sis: armi_bld xwords.pkg
|
|
makesis xwords.pkg
|
|
|
|
xwords.pkg:
|
|
@echo '; xwords.pkg' | tr -d '\r' > $@
|
|
@echo ';' | tr -d '\r' >> $@
|
|
@echo ';Language - standard language definitions' | tr -d '\r' >> $@
|
|
@echo '&EN' | tr -d '\r' >> $@
|
|
@echo '' | tr -d '\r' >> $@
|
|
@echo '; standard SIS file header' | tr -d '\r' >> $@
|
|
@echo '#{"Crosswords"},(0x10206D64),1,0,0' | tr -d '\r' >> $@
|
|
@echo '' | tr -d '\r' >> $@
|
|
@echo ';' | tr -d '\r' >> $@
|
|
@echo \"$(EPOC)\\release\\armi\\urel\\xwords.APP\"-\"C:\\system\\apps\\xwords\\xwords.app\" | tr '/' '\\' >> $@
|
|
@echo \"$(EPOC)data/z/system/apps/xwords/xwords.rsc\"-\"C:\\system\\apps\\xwords\\xwords.rsc\" | tr '/' '\\' >> $@
|
|
@echo \"../../../dawg/English/BasEnglish2to8.xwd\"-\"C:\\system\\apps\\xwords\\BasEnglish2to8.xwd\" | tr '/' '\\' >> $@
|
|
|
|
#"..\..\..\epoc32\data\z\system\apps\HelloWorldBasic\HelloWorldBasic.rsc"-"C:\system\apps\HelloWorldBasic\HelloWorldBasic.rsc"
|
|
|
|
|
|
# build project files for M$ VC++ version 6, e.g. for source-level
|
|
# debugging
|
|
vc6:
|
|
makmake.exe xwords vc6
|
|
|
|
clean:
|
|
rm -f xwords.SIS
|
|
abLD.BAT clean wins udeb
|
|
abLD.BAT clean armi udeb
|
|
bldmake $(BLDMAKE_FLAGS) clean
|
|
|
|
# all: ./ABLD.BAT $(SRC)
|
|
# (PATH=$$(echo $$(echo $$PATH | sed -e 's/\/usr\/local\/bin:\/usr\/bin:\/usr\/bin://'):/usr/local/bin:/usr/bin:/usr/bin); \
|
|
# ./ABLD.BAT build wins udeb)
|
|
|
|
|
|
# ./ABLD.BAT: helloworldbasic.mmp Makefile
|
|
# (PATH=$$(echo $$(echo $$PATH | sed -e 's/\/usr\/local\/bin:\/usr\/bin:\/usr\/bin://'):/usr/local/bin:/usr/bin:/usr/bin); \
|
|
# bldmake bldfiles)
|