summaryrefslogtreecommitdiff
path: root/code/core/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-01-11 18:03:01 +0100
committerUros Majstorovic <majstor@majstor.org>2018-01-11 18:03:01 +0100
commitdea99b85dc52341265ae2e8463afee8a9709127a (patch)
tree4d4c52d046e76374314d5c88137e406a3d238ec2 /code/core/Makefile
parenteb8c9fe176721d5e8dd24febec88e1665ca70c26 (diff)
fe310 platform introdiced
Diffstat (limited to 'code/core/Makefile')
-rw-r--r--code/core/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/code/core/Makefile b/code/core/Makefile
index ed0f760..88d8c84 100644
--- a/code/core/Makefile
+++ b/code/core/Makefile
@@ -1,9 +1,8 @@
-MAKE=make
-CFLAGS = -I. -pthread -O3 $(PIC)
-
-obj = core.o timer.o rbuf.o rbuf_send.o rbuf_recv.o msgq.o
-subdirs = crypto posix htable
+include ../Makefile.platform
+CFLAGS=$(CFLAGS_PL) $(PIC) -I.
+obj = core.o timer.o $(obj_rbuf)
+subdirs = crypto $(vconn) $(htable) $(platform)
%.o: %.c
$(CC) $(CFLAGS) -c $<