blob: 539a1ee080908988c05c039fa5ba975a08b070a9 [file] [log] [blame]
Matthias Andreas Benkard33147302018-04-09 21:22:22 +02001.PHONY: all clean
2
3all: hello-world-ng
4
5clean:
6 $(RM) hello-world-ng.o hello-world
7
8hello-world-ng: hello-world-ng.o
9 $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
10
11%.o: %.cpp
12 $(CXX) $(CXXFLAGS) -o $@ -c $<