Update Makefile

main
noah metz 2024-12-01 18:28:44 -07:00
parent 1c4fc7e755
commit 193b462b98
1 changed files with 7 additions and 0 deletions

@ -1,6 +1,13 @@
CC ?= clang CC ?= clang
CFLAGS = -O0 -g -Wall -Wextra CFLAGS = -O0 -g -Wall -Wextra
.PHONY: all
all: day_1
clean:
rm -rf *.o
rm -rf day_1
%.o: %.c %.o: %.c
$(CC) $(CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<