summaryrefslogtreecommitdiff
path: root/code/core/Makefile
diff options
context:
space:
mode:
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 $<