Skip to content

Commit 6edba20

Browse files
authoredDec 30, 2016
Update Makefile
1 parent 3356148 commit 6edba20

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ CXXFLAGS += -pthread
1414
endif
1515

1616
$(TARGET): $(OBJS)
17-
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(LDLIBS) $^ -o $@
17+
$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(LDLIBS)
1818

1919
install: $(TARGET)
2020
install -Dm755 $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET)
@@ -25,4 +25,7 @@ uninstall:
2525
$(RM) $(DESTDIR)$(BINDIR)/$(TARGET)
2626
$(RM) -r $(DESTDIR)$(MAPDIR)
2727

28-
.PHONY: install uninstall
28+
clean:
29+
$(RM) $(wildcard src/*.o) $(TARGET)
30+
31+
.PHONY: install uninstall clean

0 commit comments

Comments
 (0)
Please sign in to comment.