blob: 0cba54e90701ecb14fa872c62f1006eafbee04c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ad,v 1.1.1.1 2003/04/29 23:15:37 jtb Exp $
--- /dev/null
+++ objdir/lua/Makefile
@@ -0,0 +1,16 @@
+PROG= lua4
+
+SRCS= lua.c
+
+BINDIR= ${PREFIX}/bin
+MANDIR= ${PREFIX}/man
+
+CPPFLAGS+= -D_POSIX_SOURCE -I${.CURDIR}/../../include
+
+LDFLAGS+= -R${PREFIX}/lib -L${.CURDIR}/../liblua -L${.CURDIR}/../liblualib
+
+LDADD+= -llua4 -llualib4 -lm
+
+.PATH: ${.CURDIR}/../../src/lua
+
+.include <bsd.prog.mk>
|