simplify build
This commit is contained in:
parent
1be03616c2
commit
736470bf05
@ -1,9 +1,15 @@
|
|||||||
all: game/index.html unix/index.html
|
RM = rm -f
|
||||||
|
TARGETS = game/index.html unix/index.html
|
||||||
|
|
||||||
|
all: $(TARGETS)
|
||||||
|
|
||||||
game/index.html: game/*.m4
|
game/index.html: game/*.m4
|
||||||
$(MAKE) -C game
|
$(MAKE) -f page.mk -C game
|
||||||
|
|
||||||
unix/index.html: unix/*.m4
|
unix/index.html: unix/*.m4
|
||||||
$(MAKE) -C unix
|
$(MAKE) -f page.mk -C unix
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C game clean
|
$(RM) $(TARGETS)
|
||||||
$(MAKE) -C unix clean
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
define(`_DESCRIPTION', `a loss cause')dnl
|
define(`_DESCRIPTION', `a loss cause')dnl
|
||||||
define(`_PAGE', `thegame')dnl
|
define(`_PAGE', `game')dnl
|
||||||
include(`../wiki.m4')dnl
|
include(`../wiki.m4')dnl
|
||||||
|
|
||||||
_header(`Game')
|
_header(`Game')
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
RM = rm -f
|
|
||||||
|
|
||||||
index.html: *.m4
|
|
||||||
m4 index.m4 >index.html
|
|
||||||
|
|
||||||
clean:
|
|
||||||
$(RM) index.html
|
|
||||||
|
|
||||||
.PHONY: clean
|
|
Loading…
Reference in New Issue
Block a user