OSDN Git Service

revises makefile of htdocs
[qcad/qcad.git] / release / makefile
1 VER=100
2 TARGET=qcad$(VER).zip
3 EXE_FILE=../qcadwin/qcad.exe
4 HELP_FILE=../htdocs/qcadhelp.chm
5 SAMPLE_FILE=../samples/sample1.qcd
6 FILES=qcad.exe qcadhelp.chm README.TXT LICENSE.TXT sample1.qcd
7
8 all:$(TARGET)
9
10 qcad.exe: $(EXE_FILE)
11         cp $(EXE_FILE) .
12
13 qcadhelp.chm: $(HELP_FILE)
14         cp $(HELP_FILE) .
15
16 sample1.qcd: $(SAMPLE_FILE)
17         cp $(SAMPLE_FILE) .
18
19 $(TARGET): $(FILES)
20         zip $(TARGET) $(FILES)
21
22 clean:
23         rm -f qcad.exe qcadhelp.chm sample1.qcd qcad*.zip