shorten/Makefile

14 lines
185 B
Makefile

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