1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: Build scottfree without termcap
Author: Clint Adams <schizo@debian.org>
--- a/Makefile
+++ b/Makefile
@@ -4,11 +4,14 @@
CC = gcc
#
#
-all : ScottCurses
+all : scottfree
ScottCurses.o: ScottCurses.c Scott.h
-ScottCurses: ScottCurses.o
- $(CC) ScottCurses.o -o ScottCurses -lcurses -ltermcap
+scottfree: ScottCurses.o
+ $(CC) $(LDFLAGS) ScottCurses.o -o scottfree -lcurses
+install:
+ mkdir -p $(DESTDIR)/usr/games
+ install -m 755 scottfree $(DESTDIR)/usr/games
|