summaryrefslogtreecommitdiff
path: root/package/dhrystone/Makefile
diff options
context:
space:
mode:
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