usaa21/cv1/Makefile

12 lines
135 B
Makefile
Raw Permalink Normal View History

2021-10-07 23:16:59 +00:00
# variables
CC=gcc
CFLAGS=-std=c11 -Wall -Werror
LDLIBS=-lm
OUTPUT=$@
# targets
%: %.c
$(CC) $(CFLAGS) $@.c $(LDLIBS) -o $(OUTPUT)