More libs needed when linking, fix static linking (vax)

This commit is contained in:
pvalchev 2002-09-24 07:43:49 +00:00
parent ad9159a1cd
commit 9ca242d5d5

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile,v 1.2 2001/03/21 10:03:49 wilfried Exp $
--- Makefile.orig Wed Dec 30 17:54:52 1998
+++ Makefile Wed Mar 21 08:28:08 2001
$OpenBSD: patch-Makefile,v 1.3 2002/09/24 07:43:49 pvalchev Exp $
--- Makefile.orig Wed Dec 30 09:54:52 1998
+++ Makefile Tue Sep 24 01:34:52 2002
@@ -1,14 +1,13 @@
-CC=gcc
-CFLAGS=-O2
@ -21,7 +21,7 @@ $OpenBSD: patch-Makefile,v 1.2 2001/03/21 10:03:49 wilfried Exp $
+all: linleech
+
+linleech: ${OBJS}
+ ${CC} -o $@ ${OBJS} ${LDFLAGS} -lslang
+ ${CC} -o $@ ${OBJS} ${LDFLAGS} -lslang -ltermcap -lm
clean:
- rm -f $(OBJS) linleech