Distinguish between size of init string and size of the charseq.
[berndj-bootstrap.git] / lisp / Makefile
blobd62dcdd661ff4c73e2fdb7092bf76da20d8cd915
1 #PROFILE = -ftest-coverage -fprofile-arcs
2 PROFILE =
4 CC = gcc
5 CFLAGS = -fstrict-aliasing $(PROFILE) -Wstrict-aliasing=2 -g -O0
7 .PHONY: all
8 all: lisp
10 lisp: lisp.c
11 $(CC) $(CFLAGS) lisp.c -o lisp
13 .PHONY: check
14 check: all
15 while read -r line; do echo "x$$line" |sed 's/^.//' |./lisp || true; done <test-input >test-output
16 diff -u test-expected test-output