aoc/2015/day07/makefile

17 lines
353 B
Makefile
Raw Permalink Normal View History

2024-07-05 19:55:39 -04:00
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