makefile words...
This commit is contained in:
parent
922a978890
commit
4bb1b1c81c
2 changed files with 2 additions and 3 deletions
|
|
@ -28,10 +28,10 @@ $(D_OBJ)/%.o: $(D_SRC)/%.c $(D_INC)
|
||||||
@$(CC) $(O_INC) $(W_FLAGS) -c $< -o $@ $(D_FLAGS)
|
@$(CC) $(O_INC) $(W_FLAGS) -c $< -o $@ $(D_FLAGS)
|
||||||
@echo "Compiling "$<"..."
|
@echo "Compiling "$<"..."
|
||||||
|
|
||||||
libft:
|
libft/libft.a:
|
||||||
@$(MAKE) -C libft/ 2>/dev/null
|
@$(MAKE) -C libft/ 2>/dev/null
|
||||||
|
|
||||||
$(NAME): $(DF_OBJ) libft
|
$(NAME): libft/libft.a $(DF_OBJ)
|
||||||
$(CC) $(O_INC) -Llibft -lft $(W_FLAGS) $(DF_OBJ) -o $@ $(D_FLAGS)
|
$(CC) $(O_INC) -Llibft -lft $(W_FLAGS) $(DF_OBJ) -o $@ $(D_FLAGS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
||||||
1
ls/libft/.gitignore
vendored
1
ls/libft/.gitignore
vendored
|
|
@ -1 +0,0 @@
|
||||||
libft.a
|
|
||||||
Loading…
Reference in a new issue