Created
August 17, 2010 18:53
-
-
Save pete/531432 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # By popular request[1], a simple Makefile. It turns one .c file into one | |
| # executable. | |
| # Put the name of the targets here: | |
| TARGETS = hello_world | |
| all: $(TARGETS) | |
| %: %.c | |
| cc $(CFLAGS) $< -o $@ | |
| # 1. Or repeated requests from one person. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment