aoc/2015/day09/makefile
2024-07-07 22:37:10 -04:00

17 lines
353 B
Makefile

CC = gcc
CFLAGS = -std=c99 -Wall -Wextra
LDFLAGS =
DFLAGS = -std=c99 -Wall -Wextra -g
1: answer01.c
$(CC) $(CFLAGS) $(LDFLAGS) answer01.c -o answer01
2: answer02.c
$(CC) $(CFLAGS) $(LDFLAGS) answer02.c -o answer02
1d: answer01.c
$(CC) $(DFLAGS) $(LDFLAGS) answer01.c -o answer01
2d: answer02.c
$(CC) $(DFLAGS) $(LDFLAGS) answer02.c -o answer02