projects
/
rrq
/
jonesforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes crash on modern gcc (#2)
[rrq/jonesforth.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index f5a74941b2ba9873f019afff703fd6fd05aaf745..77d90d163d25cafb2b14fc283e99f58a8dd43511 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,17
+1,20
@@
-# $Id: Makefile,v 1.7 2007-10-10 13:01:05 rich Exp $
+# $Id: Makefile,v 1.9 2007-10-22 18:53:12 rich Exp $
+
+#BUILD_ID_NONE := -Wl,--build-id=none
+BUILD_ID_NONE :=
SHELL := /bin/bash
all: jonesforth
jonesforth: jonesforth.S
SHELL := /bin/bash
all: jonesforth
jonesforth: jonesforth.S
- gcc -m32 -nostdlib -static
-Wl,-Ttext,0 -Wl,--build-id=none
-o $@ $<
+ gcc -m32 -nostdlib -static
$(BUILD_ID_NONE)
-o $@ $<
run:
cat jonesforth.f $(PROG) - | ./jonesforth
clean:
run:
cat jonesforth.f $(PROG) - | ./jonesforth
clean:
- rm -f jonesforth *~ core .test_*
+ rm -f jonesforth
perf_dupdrop
*~ core .test_*
# Tests.
# Tests.
@@
-34,8
+37,11
@@
test_%.test: test_%.f jonesforth
perf_dupdrop: perf_dupdrop.c
gcc -O3 -Wall -Werror -o $@ $<
perf_dupdrop: perf_dupdrop.c
gcc -O3 -Wall -Werror -o $@ $<
+run_perf_dupdrop: jonesforth
+ cat <(echo ': TEST-MODE ;') jonesforth.f perf_dupdrop.f | ./jonesforth
+
.SUFFIXES: .f .test
.SUFFIXES: .f .test
-.PHONY: test check
+.PHONY: test check
run run_perf_dupdrop
remote:
scp jonesforth.S jonesforth.f rjones@oirase:Desktop/
remote:
scp jonesforth.S jonesforth.f rjones@oirase:Desktop/