simplify build

This commit is contained in:
dtb 2022-12-23 21:34:32 -05:00
parent 1be03616c2
commit 736470bf05
4 changed files with 12 additions and 15 deletions

View File

@ -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
$(MAKE) -C game
$(MAKE) -f page.mk -C game
unix/index.html: unix/*.m4
$(MAKE) -C unix
$(MAKE) -f page.mk -C unix
clean:
$(MAKE) -C game clean
$(MAKE) -C unix clean
$(RM) $(TARGETS)
.PHONY: all clean

View File

@ -1,5 +1,5 @@
define(`_DESCRIPTION', `a loss cause')dnl
define(`_PAGE', `thegame')dnl
define(`_PAGE', `game')dnl
include(`../wiki.m4')dnl
_header(`Game')

View File

@ -1,9 +0,0 @@
RM = rm -f
index.html: *.m4
m4 index.m4 >index.html
clean:
$(RM) index.html
.PHONY: clean