aboutsummaryrefslogtreecommitdiff
path: root/paranoia/Makefile
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-05-07 16:32:32 -0400
committerB. Watson <yalhcru@gmail.com>2015-05-07 16:32:32 -0400
commit013ac7742311556022304e8b30ca170d48b3a016 (patch)
tree53faa33e75991363f1a6dcc7edc83a66b70e6995 /paranoia/Makefile
downloadbsd-games-extra-013ac7742311556022304e8b30ca170d48b3a016.tar.gz
initial commit
Diffstat (limited to 'paranoia/Makefile')
-rw-r--r--paranoia/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/paranoia/Makefile b/paranoia/Makefile
new file mode 100644
index 0000000..725d461
--- /dev/null
+++ b/paranoia/Makefile
@@ -0,0 +1,16 @@
+PROG= paranoia
+
+BINDIR=/usr/games
+LIBDIR= $(DESTDIR)/lib
+MANDIR= /usr/man/man6
+CC= gcc
+CFLAGS= -O2
+
+$(PROG):
+ $(CC) $(CFLAGS) -o $(PROG) $(PROG).c
+
+install: $(PROG)
+ install -c -o root -g root -m 755 $(PROG) $(DESTDIR)/$(BINDIR)
+
+clean:
+ rm -f $(PROG) core *.o