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
142 B
Makefile

3 years ago
CC=gcc
CFLAGS=-std=gnu99 -O2 -g
PROJECT=aoc_day1
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
$(PROJECT): aoc_day1.o
$(CC) -o aoc_day1 aoc_day1.o