Commit 0013ab66 authored by Donjan Rodic's avatar Donjan Rodic
Browse files

Small addition in Makefile example

parent 48358384
......@@ -25,8 +25,8 @@ main: foo.o helpers/bar.o helpers/bar2.o
%.o: %.cpp %.hpp
$(CC) $(CXXFLAGS) $(SYSFLAGS) -c -o $@ $< $(LIBS)
# Execute our main program.
runmain:
# Execute our main program. This needs to depend on a fully built target 'main'.
runmain: main
@./main
# Important: offer a way to clean up after ourselves!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment