summaryrefslogtreecommitdiff
path: root/code/core/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-07-19 15:19:54 +0200
committerUros Majstorovic <majstor@majstor.org>2017-07-19 15:19:54 +0200
commit50a392349a2e06ea5ff08e35cfb2558a1c97b993 (patch)
tree5139b68b7b27e290e4ae88ea4e5b127b724af55a /code/core/Makefile
parent0967b98ce307a80a7576d3da0c939a757f4e6154 (diff)
ring buffer fixes
Diffstat (limited to 'code/core/Makefile')
-rw-r--r--code/core/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/code/core/Makefile b/code/core/Makefile
index 550c0cf..84090f1 100644
--- a/code/core/Makefile
+++ b/code/core/Makefile
@@ -1,10 +1,13 @@
MAKE=make
CFLAGS = -I. -pthread -O3 $(PIC)
-obj = core.o timer.o rbuf_recv.o
+obj = core.o timer.o rbuf.o rbuf_send.o rbuf_recv.o
subdirs = crypto posix htable
+%.o: %.c
+ $(CC) $(CFLAGS) -c $<
+
%.o: %.c %.h
$(CC) $(CFLAGS) -c $<