Skip to content

Instantly share code, notes, and snippets.

@creikey
Created April 7, 2018 21:44
Show Gist options
  • Save creikey/930167dac9a3b80156c7536cb7fda0cb to your computer and use it in GitHub Desktop.
Save creikey/930167dac9a3b80156c7536cb7fda0cb to your computer and use it in GitHub Desktop.
.PHONY: clean
all: *.o
g++ *.o
%.o: %.cpp
g++ -c $(CXXFLAGS) $^
clean:
-rm *.o
-rm *.gch
-rm a.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment