Skip to content

Commit 02fa3c8

Browse files
author
Peter Kosyh
committed
plan9 mkfile
1 parent 9068fd4 commit 02fa3c8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mkfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
</$objtype/mkfile
22

33
CC=pcc
4-
CFLAGS= -DVERSION="1.1" -D_POSIX_SOURCE -Ilua/src -DPLAN9 -DUNIX -DSTEAD_PATH="/sys/games/lib/instead/"
4+
CFLAGS= -DVERSION="1.2" -D_POSIX_SOURCE -Ilua/src -DPLAN9 -DUNIX -DSTEAD_PATH="/sys/games/lib/instead/"
55
LIBS=lua/src/liblua.a
66

7-
all: $O.instead
7+
all: $O.instead-cli
88

99
$LIBS: lua
1010

@@ -34,10 +34,10 @@ OFILES=\
3434
%.$O: %.c
3535
$CC $CFLAGS -c -o $target $stem.c
3636

37-
$O.instead: $OFILES $LIBS
37+
$O.instead-cli: $OFILES $LIBS
3838
$CC $CFLAGS -o $target $OFILES $LIBS
3939

40-
install:V:
40+
install:V:all
4141
mkdir -p /sys/games/lib/instead
4242
dircp instead/stead /sys/games/lib/instead
4343
cp tiny.lua /sys/games/lib/instead
@@ -47,7 +47,7 @@ install:V:
4747
dircp metaparser/morph /sys/games/lib/instead/stead3/morph
4848
mkdir -p /sys/games/lib/instead/stead3/parser
4949
dircp metaparser/parser /sys/games/lib/instead/stead3/parser
50-
cp $O.instead /$objtype/bin/instead
50+
cp $O.instead-cli /$objtype/bin/instead-cli
5151

5252
clean:V:
53-
rm -f $OFILES $O.instead
53+
rm -f $OFILES $O.instead-cli

0 commit comments

Comments
 (0)