summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2012-05-25 08:36:24 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2012-05-25 08:36:24 +0000
commit05488cad0e381dc10f54d6d9909ab7eab30f262e (patch)
treea627a02346562fcf4a29f56c4eee8fcd7f0b535c /Makefile
Initial commitHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1ec6fe0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+
+all: stm_test
+
+stm_test: main.o fileop.o
+ gcc -o $@ $^
+
+fileop.o: fileop.c
+ gcc -c $<
+
+main.o: main.c test_commands.h
+ gcc -c $<
+
+clean:
+ rm -rf *.o
+ rm stm_test