summaryrefslogtreecommitdiff
path: root/code/core/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-05-23 17:28:12 +0200
committerUros Majstorovic <majstor@majstor.org>2017-05-23 17:28:12 +0200
commitab0325ae7906230f1ea82f08b27c72b075e9a13d (patch)
tree5a292826fdea4db2c86b2d82b80fa489c6c131c7 /code/core/Makefile
parent3ef6719f47b734b12c0b11c725b7f12e3fb3c08a (diff)
build fixed; added lib util
Diffstat (limited to 'code/core/Makefile')
-rw-r--r--code/core/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/code/core/Makefile b/code/core/Makefile
index d3610bf..2cae048 100644
--- a/code/core/Makefile
+++ b/code/core/Makefile
@@ -1,8 +1,10 @@
MAKE=make
-CFLAGS = -I. -pthread -O3 -DECP_DEBUG
+CFLAGS = -I. -pthread -O3 $(PIC) -DECP_DEBUG
+
obj = core.o timer.o msgq.o
subdirs = crypto posix htable
+
%.o: %.c %.h
$(CC) $(CFLAGS) -c $<