Skip to content

Commit

Permalink
Track build dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jserv committed Feb 7, 2024
1 parent 444d2fc commit 3e68d34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.o
*.d
ttt
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PROG = ttt
CFLAGS := -Wall -Wextra -std=c11
CFLAGS += -I.
CFLAGS += -I. -MMD

GIT_HOOKS := .git/hooks/applied

Expand All @@ -14,8 +14,9 @@ OBJS := \
game.o \
agents/negamax.o \
main.o
deps := $(OBJS:%.o=%.d)

$(PROG): $(OBJS)

clean:
-$(RM) $(PROG) $(OBJS)
-$(RM) $(PROG) $(OBJS) $(deps)

0 comments on commit 3e68d34

Please sign in to comment.