Created
August 18, 2012 16:08
-
-
Save spaghetti-/3388026 to your computer and use it in GitHub Desktop.
simplest of makefiles
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
CC=gcc | |
CFLAGS=-Wall | |
BIN=alice | |
SRC=$(wildcard src/*.c) | |
all: | |
$(CC) $(CFLAGS) $(SRC) -o $(BIN) | |
clean: | |
rm $(BIN) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment