summaryrefslogtreecommitdiff
blob: 2ae0f4d267711674414362314816dbe109d15e38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile.orig	2004-10-16 23:04:50.144563171 -0400
+++ Makefile	2004-10-16 23:57:27.639495962 -0400
@@ -2,5 +2,16 @@
 # $FreeBSD: /repoman/r/ncvs/src/usr.bin/leave/Makefile,v 1.5 2002/02/08 22:31:41 markm Exp $
 
 PROG=	leave
+CC=gcc
+CFLAGS=
+LDFLAGS=
 
-.include <bsd.prog.mk>
+#.include <bsd.prog.mk>
+
+all: $(PROG)
+$(PROG): leave.o
+	$(CC) leave.o -o $(PROG) $(LDFLAGS)
+leave.o:
+	$(CC) $(CFLAGS) -c leave.c
+clean:
+	rm -f $(PROG) *.o