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