diff --git a/server/Makefile b/server/Makefile index 06123d5e5..b3f37b9b9 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,7 +1,7 @@ TARGETS = server send random receive test # Common objs -OBJS = msg.o cfg.o path.o node.o hooks.o +OBJS = path.o node.o hooks.o msg.o cfg.o # Helper libs OBJS += utils.o list.o hist.o log.o timing.o # Node types @@ -52,8 +52,8 @@ server: server.o $(OBJS) send: send.o $(OBJS) receive: receive.o $(OBJS) test: test.o $(OBJS) -random: random.o $(OBJS) - +random: random.o msg.o utils.o timing.o log.o + protected: CFLAGS += -DPROTECT -DVALID_UNTIL=$(shell date -d "now +5months" +%s) -s -O3 -fvisibility=hidden protected: clean strip