summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 78d3806..fc6cbe4 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,9 @@ all: $(NAME)
$(NAME): $(OBJ_FILES)
ar rcs $(NAME) $(OBJ_FILES)
+%.o: %.c
+ $(CC) -I. $(CFLAGS) -c $< -o $@
+
clean:
rm -f $(OBJ_FILES)