summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5de184b..4ae0b74 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ LIB = ft
all: $(NAME)
$(NAME): $(OBJ_FILES) | libft
- $(CC) $(CFLAGS) -I. -L$(LIB_DIR) -l$(LIB) $^ -o $@
+ $(CC) $(CFLAGS) -I. $^ -o $@ -L$(LIB_DIR) -l$(LIB)
%.o: %.c
$(CC) $(CFLAGS) -I. -c $< -o $@