usaa21/cv2/Makefile

12 lines
135 B
Makefile
Raw Permalink Normal View History

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