shorten/Makefile

14 lines
182 B
Makefile

CC=clang
CFLAGS=-pedantic -Wall -Wextra -std=c99 -D_GNU_SOURCE -O3
all: shorten
shorten: shorten.o
$(CC) $(CFLAGS) -o $@ $^
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm *.o