Created
December 28, 2014 01:53
-
-
Save rmccullagh/771abece1b40db479c42 to your computer and use it in GitHub Desktop.
Simplest Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
objects = main.o Var.o List.o | |
CCFLAGS = -Wall -Wextra -Wpedantic | |
main : $(objects) | |
cc $(CCFLAGS) -o main $(objects) | |
.PHONY : clean | |
clean: | |
rm -f main $(objects) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment