Skip to content

Instantly share code, notes, and snippets.

@omerk
Created June 8, 2013 16:00
Show Gist options
  • Save omerk/5735609 to your computer and use it in GitHub Desktop.
Save omerk/5735609 to your computer and use it in GitHub Desktop.
CFLAGS=-Wall -pedantic
SRC=$(wildcard *.c)
OBJ=$(SRC:.c=.o)
BIN=$(SRC:.c=)
all: $(BIN)
clean:
$(RM) $(OBJ) $(BIN)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment