Commit 32bba12d authored by Casualet's avatar Casualet

modify makefile

parent e8690465
......@@ -7,7 +7,10 @@ CXX=g++
.PHONY: all
all: main createSelect backFieldsToFiles
executables:=main createSelect backFieldsToFiles
all: $(executables)
createSelect: obj/createSelect.o $(OBJFILES)
$(CXX) -o createSelect $^ $(LDFLAGS)
......@@ -31,4 +34,4 @@ obj/%.o:mysqllib/%.cc
$(CXX) -MMD $(CXXFLAGS) -g -c $< -o $@
clean:
-rm -rf obj main
-rm -rf obj $(executables)
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