1 | #-- start of application |
---|
2 | |
---|
3 | $(bin)${CONSTITUENT}$(application_suffix) :: ${OBJS} $(use_stamps) $(${CONSTITUENT}_stamps) $(${CONSTITUENT}stamps) $(use_requirements) |
---|
4 | $(link_echo) application $@ |
---|
5 | $(link_silent) ${LINKMACRO} /out:$(bin)${CONSTITUENT}$(application_suffix) @<< |
---|
6 | ${OBJS} |
---|
7 | $(cmt_installarea_linkopts) |
---|
8 | $(${CONSTITUENT}_use_linkopts) |
---|
9 | $(${CONSTITUENT}linkopts) |
---|
10 | << |
---|
11 | |
---|
12 | |
---|
13 | |
---|
14 | !if "$(use_stamps)" != "" |
---|
15 | # Work around Make errors if stamps files do not exist |
---|
16 | $(use_stamps) : |
---|
17 | !endif |
---|
18 | |
---|
19 | install_dir = $(CMTINSTALLAREA)\$(tag)\bin |
---|
20 | ${CONSTITUENT}installname = ${CONSTITUENT}$(application_suffix) |
---|
21 | |
---|
22 | ${CONSTITUENT} :: ${CONSTITUENT}install |
---|
23 | |
---|
24 | install :: ${CONSTITUENT}install |
---|
25 | |
---|
26 | ${CONSTITUENT}install :: $(install_dir)\$(${CONSTITUENT}installname) |
---|
27 | !if "$(CMTINSTALLAREA)" != "" |
---|
28 | $(echo) "installation done" |
---|
29 | !endif |
---|
30 | |
---|
31 | $(install_dir)\$(${CONSTITUENT}installname) :: $(bin)$(${CONSTITUENT}installname) |
---|
32 | !if "$(CMTINSTALLAREA)" != "" |
---|
33 | $(install_echo) $(@F) into $(@D) |
---|
34 | $(install_silent) $(cmt_install_action) "$(BIN)" "$(${CONSTITUENT}installname)" "$(install_dir)" |
---|
35 | !endif |
---|
36 | |
---|
37 | ##${CONSTITUENT}clean :: ${CONSTITUENT}uninstall |
---|
38 | |
---|
39 | uninstall :: ${CONSTITUENT}uninstall |
---|
40 | |
---|
41 | ${CONSTITUENT}uninstall :: |
---|
42 | !if "$(CMTINSTALLAREA)" != "" |
---|
43 | $(cleanup_echo) "$(${CONSTITUENT}installname)" from "$(install_dir)" |
---|
44 | $(cleanup_silent) $(cmt_uninstall_action) "$(BIN)" "$(${CONSTITUENT}installname)" "$(install_dir)" |
---|
45 | !endif |
---|
46 | |
---|
47 | #-- end of application |
---|