summaryrefslogtreecommitdiff
path: root/package/dhrystone/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-07 16:07:27 -0500
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-08 23:37:48 +0100
commit9ffc2e809c9a1a6be135d6ec5503e8d0717d2cc0 (patch)
tree0de2cb1967ac3bd8610389904588c1a001352596 /package/dhrystone/Makefile
parentbeb56ca618da3c2bcffb806c6d7fae725e56162e (diff)
dhrystone: new benchmark package
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dhrystone/Makefile')
-rw-r--r--package/dhrystone/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/dhrystone/Makefile b/package/dhrystone/Makefile
new file mode 100644
index 000000000..d628ddb50
--- /dev/null
+++ b/package/dhrystone/Makefile
@@ -0,0 +1,12 @@
+CPPFLAGS += -DNO_PROTOTYPES=1
+LDLIBS += -lm
+
+all: dhrystone
+
+dhrystone: dhry_1.o dhry_2.o
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
+
+clean:
+ rm -f *.o dhrystone
+
+.PHONY: all clean