usaa21/a2/Makefile
Peter Petrek cfbcf91b0d try
2022-01-19 16:52:37 +01:00

12 lines
135 B
Makefile

# variables
CC=gcc
CFLAGS=-std=c11 -Wall -Werror
LDLIBS=-lm
OUTPUT=$@
# targets
%: %.c
$(CC) $(CFLAGS) $@.c $(LDLIBS) -o $(OUTPUT)