1 # $Id: Makefile,v 1.6 2007-10-07 11:07:15 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_*
16 TESTS := $(patsubst %.f,%.test,$(wildcard test_*.f))
20 test_%.test: test_%.f jonesforth
23 @cat <(echo ': TEST-MODE ;') jonesforth.f $< <(echo 'TEST') | \
25 sed 's/DSP=[0-9]*//g' > .$@
34 scp jonesforth.S jonesforth.f rjones@oirase:Desktop/
35 ssh rjones@oirase sh -c '"rm -f Desktop/jonesforth; \
36 gcc -m32 -nostdlib -static -Wl,-Ttext,0 -o Desktop/jonesforth Desktop/jonesforth.S; \
37 cat Desktop/jonesforth.f - | Desktop/jonesforth arg1 arg2 arg3"'