Updated for better use
This commit is contained in:
parent
6545ef3546
commit
cdbb4e2888
|
@ -1,7 +1,4 @@
|
|||
/Makefile.cfg
|
||||
/obj
|
||||
/man
|
||||
/p7
|
||||
/p7.exe
|
||||
/p7screen
|
||||
/p7screen.exe
|
||||
/p7*
|
||||
|
|
8
Makefile
8
Makefile
|
@ -93,6 +93,8 @@ ifeq ($(shell test -f $(SRCDIR)/$1/$2.c && echo y),y)
|
|||
else
|
||||
# - Out of an update.exe project
|
||||
$(SRCDIR)/$1/$2.exe/$2.exe.bin:| $(SRCDIR)/$1/$2.exe
|
||||
-$(call qcmd,test -e .git && ! test -e $(SRCDIR)/$1/$2.exe/.git && \
|
||||
git submodule update --init $(SRCDIR)/$1/$2.exe)
|
||||
$(call qcmd,cd $$| && ./configure)
|
||||
$(call bcmd,make,$2.exe,$(MAKE) $$| $2.exe.bin | sed -e 's/^/ /')
|
||||
|
||||
|
@ -130,10 +132,10 @@ $(eval $(call make-binary-rule,$(bin))))
|
|||
|
||||
# Install a binary
|
||||
define make-installbinary-rule
|
||||
install-$1: $(CHECKCFG) $1$(if $(FOR_WINDOWS),.exe)
|
||||
$(call imsg,Installing $$<.)
|
||||
install-$1: $(CHECKCFG) all-$1
|
||||
$(call imsg,Installing $1$(if $(FOR_WINDOWS),.exe).)
|
||||
$(call qcmd,$(INSTALL) -m 755 -d "$(IBINDIR)")
|
||||
$(call qcmd,$(INSTALL) -m 755 -t "$(IBINDIR)" $$<)
|
||||
$(call qcmd,$(INSTALL) -m 755 -t "$(IBINDIR)" $1$(if $(FOR_WINDOWS),.exe))
|
||||
endef
|
||||
$(foreach bin,$(BINARIES),\
|
||||
$(eval $(call make-installbinary-rule,$(bin))))
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 787d8bb1083c7608bd62ff06a73b441e920c6105
|
||||
Subproject commit f3901f2218f3a4dcd69f8a01bcabe0ddd56938fb
|
Reference in New Issue