aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 39ea023..40a57ea 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ OBJFILES=$(CFILES:.c=.o)
all: $(NAME)
-.c.o:
+%.o: %.c %.h types.h
$(CC) -c $(CFLAGS) $(CWARN) $(G) $(O) -o $@ $<
$(NAME): $(OBJFILES) $(NAME).c