usaa21/a4/Makefile
Peter Petrek a7dcfdeb81 first
2021-12-02 20:44:15 +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)