Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # variables
- CC=gcc
- CFLAGS=-std=c11 -Wall -Werror
- LDLIBS=
- OUTPUT=$@
- # targets
- %: %.c
- $(CC) $(CFLAGS) $@.c $(LDLIBS) -o $(OUTPUT)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement