Mercurial > hg > nnchat
comparison Makefile.cross-mingw @ 718:1ab9b538c0bb default tip
Rename Makefile.gen to Makefile.common
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 03 Aug 2023 19:17:58 +0300 |
parents | 93d0e1547842 |
children |
comparison
equal
deleted
inserted
replaced
717:183818be0d83 | 718:1ab9b538c0bb |
---|---|
51 ### Miscellaneous | 51 ### Miscellaneous |
52 ### | 52 ### |
53 EXTRAOBJS = $(OBJPATH)resource.o | 53 EXTRAOBJS = $(OBJPATH)resource.o |
54 ICON = resource.ico | 54 ICON = resource.ico |
55 | 55 |
56 include Makefile.gen | 56 include Makefile.common |
57 | 57 |
58 $(OBJPATH)resource.rc: resource.rc.in $(ICON) VERSION | 58 $(OBJPATH)resource.rc: resource.rc.in $(ICON) VERSION |
59 sed -e "s/@VERSION@/$(NN_VERSION)/g;s/@VERSION_COM@/$(NN_VERSION_COM)/g;s/@ICON@/$(ICON)/g;s#@EXE@#$(notdir $(NNCHAT_BIN))#g" < $< > $@ | 59 sed -e "s/@VERSION@/$(NN_VERSION)/g;s/@VERSION_COM@/$(NN_VERSION_COM)/g;s/@ICON@/$(ICON)/g;s#@EXE@#$(notdir $(NNCHAT_BIN))#g" < $< > $@ |
60 | 60 |
61 $(OBJPATH)resource.o: $(OBJPATH)resource.rc | 61 $(OBJPATH)resource.o: $(OBJPATH)resource.rc |