1 # $Id: Makefile,v 1.7 2007-10-10 13:01:05 rich Exp $
7 jonesforth: jonesforth.S
8 gcc -m32 -nostdlib -static -Wl,-Ttext,0 -Wl,--build-id=none -o $@ $<
11 cat jonesforth.f $(PROG) - | ./jonesforth
14 rm -f jonesforth *~ core .test_*
18 TESTS := $(patsubst %.f,%.test,$(wildcard test_*.f))
22 test_%.test: test_%.f jonesforth
25 @cat <(echo ': TEST-MODE ;') jonesforth.f $< <(echo 'TEST') | \
27 sed 's/DSP=[0-9]*//g' > .$@
34 perf_dupdrop: perf_dupdrop.c
35 gcc -O3 -Wall -Werror -o $@ $<
41 scp jonesforth.S jonesforth.f rjones@oirase:Desktop/
42 ssh rjones@oirase sh -c '"rm -f Desktop/jonesforth; \
43 gcc -m32 -nostdlib -static -Wl,-Ttext,0 -o Desktop/jonesforth Desktop/jonesforth.S; \
44 cat Desktop/jonesforth.f - | Desktop/jonesforth arg1 arg2 arg3"'