Commit 3ba344b6 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Hacky change to makefile to prevent recompilation everytime. This

makefile needs to be fixed (remove fbsd/linux subdir cruft).
parent 1dc0d3d3
...@@ -20,7 +20,7 @@ SYSTEM := $(shell uname -s) ...@@ -20,7 +20,7 @@ SYSTEM := $(shell uname -s)
include $(OBJDIR)/Makeconf include $(OBJDIR)/Makeconf
all: $(DAEMON) $(LTEVENT) $(SCRIPT) $(SCRIPT_RUN) $(SCRIPT_TBCOMPAT) all: binaries $(SCRIPT) $(SCRIPT_RUN) $(SCRIPT_TBCOMPAT)
include $(TESTBED_SRCDIR)/GNUmakerules include $(TESTBED_SRCDIR)/GNUmakerules
...@@ -54,14 +54,15 @@ $(LIBTBDIR)/%.o: ...@@ -54,14 +54,15 @@ $(LIBTBDIR)/%.o:
$(LIBEVENTDIR)/%.a: $(LIBEVENTDIR)/%.a:
@$(MAKE) -C $(LIBEVENTDIR) $(@F) @$(MAKE) -C $(LIBEVENTDIR) $(@F)
binaries: $(LOCAL_BINDIR)/$(DAEMON) $(LOCAL_BINDIR)/$(LTEVENT)
$(DAEMON): $(DAEMON_OBJS) $(LIBTB_OBJS) $(LOCAL_BINDIR)/$(DAEMON): $(DAEMON_OBJS) $(LIBTB_OBJS)
-mkdir $(LOCAL_BINDIR) -mkdir $(LOCAL_BINDIR)
$(CC) $(LDFLAGS) $(DAEMON_OBJS) $(LIBTB_OBJS) $(LIBS) -o $(LOCAL_BINDIR)/$@ $(CC) $(LDFLAGS) $(DAEMON_OBJS) $(LIBTB_OBJS) $(LIBS) -o $@
$(LTEVENT): $(LTEVENT_OBJS) $(LIBTB_OBJS) $(LOCAL_BINDIR)/$(LTEVENT): $(LTEVENT_OBJS) $(LIBTB_OBJS)
-mkdir $(LOCAL_BINDIR) -mkdir $(LOCAL_BINDIR)
$(CC) $(LDFLAGS) $(LTEVENT_OBJS) $(LIBTB_OBJS) $(LIBS) -o $(LOCAL_BINDIR)/$@ $(CC) $(LDFLAGS) $(LTEVENT_OBJS) $(LIBTB_OBJS) $(LIBS) -o $@
$(DAEMON_OBJS): linktest.h ../lib/libevent.a ../lib/event.h $(DAEMON_OBJS): linktest.h ../lib/libevent.a ../lib/event.h
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment