Skip to content

Commit

Permalink
Refactor Makefile; stop recompilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
sajith committed Apr 3, 2015
1 parent 9a4212f commit ccf9418
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ LDFLAGS+=-lutil

SRCS = mod_rootme.c mrm_server.c

mod_rootme.so: $(SRCS)

# the default target
all: mod_rootme.so
$(APXS) $(INCLUDES) -c $(SRCS) $(LDFLAGS) $(LIBS)
all: .libs/mod_rootme.so

.libs/mod_rootme.so: $(SRCS) $(builddir)/.deps
$(APXS) $(INCLUDES) -c $(SRCS) $(LDFLAGS) $(LIBS)

$(builddir)/.deps:
$(MKDEP) $(EXTRA_CPPFLAGS) $(EXTRA_INCLUDES) $(SRCS) > $@
Expand Down

0 comments on commit ccf9418

Please sign in to comment.