Skip to content

Commit

Permalink
Minor bugfixes with go rebuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
qpfiffer committed Jan 19, 2015
1 parent 303b9d2 commit 9a81693
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Expand Up @@ -60,14 +60,14 @@ uninstall:
rm -rf $(INSTALL_LIB)liboleg*
rm -rf $(INSTALL_BIN)olegdb

olegdb: $(BIN_DIR) $(BIN_OUT)
$(BIN_OUT): liboleg
olegdb: liboleg $(BIN_DIR) $(BIN_OUT)
$(BIN_OUT):
go build -o $(BIN_OUT) ./frontend/

install: goinstall

goinstall: olegdb libinstall
cp $(BIN_OUT) $(INSTALL_BIN)olegdb
@ cp $(BIN_OUT) $(INSTALL_BIN)olegdb

libinstall: liboleg
@mkdir -p $(INSTALL_LIB)
Expand All @@ -77,7 +77,7 @@ libinstall: liboleg
@ln -fs $(INSTALL_LIB)liboleg.so.$(VERSION) $(INSTALL_LIB)liboleg.so.$(SOVERSION)
@install ./include/*.h $(INSTALL_INCLUDE)
@ldconfig $(INSTALL_LIB)
echo "OlegDB installed to $(PREFIX)."
@echo "OlegDB installed to $(PREFIX) :^)."

test: $(LIB_OUT) $(TEST_OUT)
./run_tests.sh
Expand Down

0 comments on commit 9a81693

Please sign in to comment.