aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dc19c48..fefc439 100644
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,10 @@ RM = rm -f
.PHONY: all
all: $(NAME)
-$(NAME): $(OBJ) $(HEADER)
+$(NAME): $(OBJ)
$(CC) $(LDFLAGS) $(CCFLAGS) -o $@ $(OBJ)
-%.o: %.c
+%.o: %.c $(HEADER)
$(CC) $(LDFLAGS) $(CCFLAGS) -c -o $@ $<
.PHONY: debug