Blob


1 .POSIX:
2 .SUFFIXES: .S
4 PREFIX = /usr/local
5 LDFLAGS = -g -no-pie
7 all: rvforth
9 od: rvforth
10 llvm-objdump -d rvforth | less
12 gdb: rvforth
13 egdb ./rvforth
15 nm: rvforth
16 nm rvforth | sort -n | less
18 run: rvforth
19 rlwrap ./rvforth
21 test: rvforth
22 ./rvforth < test.fs
24 clean:
25 rm -f rvforth *.core
27 install: rvforth
28 mkdir -p ${DESTDIR}${PREFIX}/bin
29 cp -f rvforth ${DESTDIR}${PREFIX}/bin/
31 .S:
32 ${CC} -o $@ $< ${CFLAGS} ${LDFLAGS}