You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
165 B
Makefile

CC=gcc
CFLAGS=-std=gnu99 -O2 -g -Wall -Wextra -Wshadow
PROJECT=aoc_day4
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
$(PROJECT): aoc_day4.o
$(CC) -o aoc_day4 aoc_day4.o