Commit 28e85f5b authored by Raymond Toy's avatar Raymond Toy

Fix #82: Replace bc with expr

`expr` is more commonly installed than `bc` so reduce the number of
required dependencies and just use `expr`.
parent 12b02161
......@@ -47,7 +47,7 @@ lisp.nm: lisp lisp.a
mv ,lisp.nm lisp.nm
version.o : version.c version
echo '1 + ' `cat version` | bc > ,version
expr 1 + `cat version` > ,version
mv ,version version
$(CC) ${CFLAGS} $(CPPFLAGS) -DVERSION=`cat version` -c $<
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment