Makefile
changeset 6 240ae8482d64
parent 2 a834f0559939
child 8 be88e543c8ff
--- a/Makefile	Sun Feb 22 07:08:57 2009 +0200
+++ b/Makefile	Sun Feb 22 07:21:28 2009 +0200
@@ -30,6 +30,7 @@
 # modules
 module_objs = $(patsubst src/%.c,obj/%.o,$(wildcard src/$(1)/*.c))
 
+CORE_OBJS = obj/error.o
 SOCK_OBJS = obj/sock.o obj/sock_tcp.o
 SOCK_GNUTLS_OBJS = obj/sock_gnutls.o
 
@@ -40,7 +41,7 @@
 all: ${BIN_PATHS}
 
 # binaries
-bin/nexus: ${SOCK_OBJS} ${SOCK_GNUTLS_OBJS}
+bin/nexus: ${CORE_OBJS} ${SOCK_OBJS} ${SOCK_GNUTLS_OBJS}
 
 # computed
 CFLAGS = ${MODE_CFLAGS} ${FIXED_CFLAGS} ${LIBEVENT_CFLAGS} ${GNUTLS_CFLAGS}