X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=ef8bddd3ae1d0faeaca4f6ddf17b31f056648852;hb=41dac8d8e09994508a30c9ae4135eed54c1afbba;hp=e4716ded52755aeab5236306f8fee4727fc875db;hpb=8e9c6215814d343284deda9315a37050534cfa99;p=wumpus.git diff --git a/Makefile b/Makefile index e4716de..ef8bddd 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ # # Makefile for `Hunt the Wumpus' and `Superhack' games # -VERS=1.6 +VERS=1.7 prefix?=/usr +CFLAGS = -Wall + all: wumpus superhack wumpus: wumpus.c @@ -26,9 +28,9 @@ wumpus.6: wumpus.xml wumpus.html: wumpus.xml xmlto html-nochunks wumpus.xml -SOURCES = README COPYING NEWS Makefile wumpus.c superhack.c wumpus.xml wumpus.png +SOURCES = README COPYING NEWS control Makefile wumpus.c superhack.c wumpus.xml wumpus.png wumpus.desktop superhack.desktop -install: wumpus.6 +install: wumpus superhack wumpus.6 mkdir -p $(prefix)/bin mkdir -p $(prefix)/share/man/man6 cp wumpus superhack $(prefix)/bin/