summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-04-18 02:14:56 +0200
committerLuke Bratch <luke@bratch.co.uk>2019-04-18 02:14:56 +0200
commita519e3c9ded2342df72d1aa885d0a2173cfbf1c4 (patch)
treec3af43c6edf8dba9997ee02050239a80f531ef2d /Makefile
parent84b3f43a97da2b305cfa5c620aceec543168f6bc (diff)
Add a Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..be285b6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+CC=gcc
+DEPS = functions.h sockets.h
+
+%.o: %.c $(DEPS)
+ $(CC) -c -o $@ $<
+
+blabouncer: blabouncer.o functions.o sockets.o
+ $(CC) -o blabouncer blabouncer.o functions.o sockets.o