BIN = Test$(BIN_SUFFIX) SRC = Test.cpp OBJ = $(SRC:.cpp=.o) .PHONY: all clean all: $(BIN) clean: $(RM) $(BIN) $(RM) $(OBJ) $(BIN): $(OBJ) $(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)