summaryrefslogtreecommitdiff
path: root/c_src
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2014-09-25 17:57:31 +0200
committerMagnus Ahltorp <map@kth.se>2014-09-25 17:57:31 +0200
commitf5fd5ac81904160c6bd4ccda04e333ca44461b22 (patch)
treece61405aa61ab496cff0540dfea568d4b8d7b13b /c_src
parent62e2a6e4849d342f90a3860554bf44df4e563d3b (diff)
Add Makefile to c_src
Diffstat (limited to 'c_src')
-rw-r--r--c_src/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/c_src/Makefile b/c_src/Makefile
new file mode 100644
index 0000000..338dc6d
--- /dev/null
+++ b/c_src/Makefile
@@ -0,0 +1,13 @@
+CC = gcc
+CFLAGS = -Wall
+LDFLAGS =
+
+PORTS = fsynchelper
+
+all: $(PORTS)
+
+clean:
+ rm -f *.o $(PORTS)
+
+fsynchelper: net_read_write.o erlport.o fsynchelper.o
+ $(CC) $(LDFLAGS) -o fsynchelper net_read_write.o erlport.o fsynchelper.o