diff options
author | Steven Barth <steven@midlink.org> | 2008-09-10 12:22:22 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-10 12:22:22 +0000 |
commit | ba6928dce0f136babb7184c0fdad8a205489995b (patch) | |
tree | d60888ac5fdd99a3da8b4c69ef024d00d9a33ed6 /contrib/bitlib/Makefile | |
parent | 52c9166a7abe947662fe03d1051e2d05e64f4f18 (diff) |
Avoid uneccessary recompilation of contrib module
Diffstat (limited to 'contrib/bitlib/Makefile')
-rw-r--r-- | contrib/bitlib/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/bitlib/Makefile b/contrib/bitlib/Makefile index 6b7c82483..a95da2374 100644 --- a/contrib/bitlib/Makefile +++ b/contrib/bitlib/Makefile @@ -20,7 +20,9 @@ $(BITLIB_DIR)/.prepared: $(BITLIB_FILE) test -f $(BITLIB_DIR)/config.h || cp $(BITLIB_DIR)/config.h.in $(BITLIB_DIR)/config.h touch $@ -compile: $(BITLIB_DIR)/.prepared +compile: $(BITLIB_DIR)/.prepared dist$(LUA_LIBRARYDIR)/bit.so + +dist$(LUA_LIBRARYDIR)/bit.so: mkdir -p dist$(LUA_LIBRARYDIR) $(COMPILE) -DHAVE_CONFIG_H -I$(BITLIB_DIR) -O2 -c $(BITLIB_DIR)/lbitlib.c $(FPIC) $(LUA_CFLAGS) -o $(BITLIB_DIR)/lbitlib.o $(LINK) $(SHLIB_FLAGS) $(LDFLAGS) $(BITLIB_DIR)/lbitlib.o $(LUA_SHLIBS) -lm -ldl -o dist$(LUA_LIBRARYDIR)/bit.so |