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