File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11</$objtype/mkfile
22
33CC =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/"
55LIBS =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
5252clean :V:
53- rm -f $OFILES $O .instead
53+ rm -f $OFILES $O .instead-cli
You can’t perform that action at this time.
0 commit comments