aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2013-03-07 16:41:02 -0500
committerRyan Kavanagh <rak@debian.org>2013-03-07 17:54:42 -0500
commitb1d02164f2fc3993004b28c17ca6f1fb79998431 (patch)
treee52214a0d5d3ee8e8c094975ae77cf17f3a6ddda /Makefile
parentAdd install targets to Makefile (diff)
Release nmm version 1.0~beta11.0_beta1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f1a4077..9f65da2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-CFLAGS:=-Wall -Wextra -pedantic -Werror=format-security -fstack-protector-all $(CFLAGS)
+CFLAGS:= -Wall -Wextra -ansi -pedantic -Werror=format-security \
+ -fstack-protector-all $(CFLAGS)
CFLAGS:=-g $(CFLAGS)
PREFIX=/usr/local
@@ -23,6 +24,7 @@ install: nmm tmm twmm installman
install -m 555 twmm $(PREFIX)/games/
installman: nmm.6 tmm.6 twmm.6
+ -mkdir -p $(MANPATH)/man6/
install -m 444 nmm.6 $(MANPATH)/man6/
install -m 444 tmm.6 $(MANPATH)/man6/tmm.6
install -m 444 twmm.6 $(MANPATH)/man6/twmm.6
@@ -42,6 +44,6 @@ uninstall:
$(MANPATH)/man6/twmm.6
clean:
- rm nmm
+ -rm -f tmm nmm twmm tmm.6 twmm.6
.PHONY: clean install installman