aboutsummaryrefslogtreecommitdiff
path: root/paranoia/Makefile
diff options
context:
space:
mode:
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