Commit 9e82871d authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Clean up the makefiles a little more. Addresses #630.

git-svn-id: file:///svn/tokudb@3252 c7de825b-a66e-492c-adef-691d508d4ae1
parent b8940404
......@@ -11,7 +11,7 @@ LIBNAME = libtokudb_cxx
default: install build
build: $(LIBNAME).a
cp $< ../lib/
if ! diff $(LIBNAME).a ../lib/$(LIBNAME).a >/dev/null 2>&1; then cp $< ../lib/; fi
cd tests; $(MAKE) build
check:
cd tests; $(MAKE) check
......
......@@ -32,7 +32,8 @@ build:
cd lock_tree;$(MAKE) build
$(MAKE) $(LIBRARY) $(LIBNAME).a
cd tests;$(MAKE) build
cp $(LIBRARY) $(LIBNAME).a ../lib/
if ! diff $(LIBNAME).a ../lib/$(LIBNAME).a >/dev/null 2>&1; then cp $(LIBNAME).a ../lib/; fi
if ! diff $(LIBRARY) ../lib/$(LIBRARY) > /dev/null 2>&1; then cp $(LIBRARY) ../lib/; fi
.PHONY: install
install: $(LIBRARY) $(LIBNAME).a
......
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