blob: 539a1ee080908988c05c039fa5ba975a08b070a9 [file] [log] [blame]
.PHONY: all clean
all: hello-world-ng
clean:
$(RM) hello-world-ng.o hello-world
hello-world-ng: hello-world-ng.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
%.o: %.cpp
$(CXX) $(CXXFLAGS) -o $@ -c $<