-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update Status code for post and delete fix
- Loading branch information
Matisse Chenavas
committed
Jun 26, 2024
1 parent
c045ebf
commit a8744a8
Showing
4 changed files
with
121 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# By: mchenava <[email protected]> +#+ +:+ +#+ # | ||
# +#+#+#+#+#+ +#+ # | ||
# Created: 2023/12/15 15:51:13 by agaley #+# #+# # | ||
# Updated: 2024/06/26 10:53:29 by mchenava ### ########.fr # | ||
# Updated: 2024/06/26 15:07:45 by mchenava ### ########.fr # | ||
# # | ||
# **************************************************************************** # | ||
|
||
|
@@ -50,7 +50,14 @@ DEBUG_DEPS = $(patsubst $(SRC_DIR)/%.cpp, $(DEBUG_OBJ_DIR)/%.d, $(SRC)) | |
|
||
VPATH = $(SRC_DIR) | ||
|
||
all: $(NAME) | ||
all: $(NAME) setup | ||
|
||
setup: | ||
NUM=1; \ | ||
for file in /var/www/html/static_templates/*; do \ | ||
ln -s $$file /var/www/html/static_templates/static$$NUM; \ | ||
NUM=$$((NUM + 1)); \ | ||
done | ||
|
||
$(NAME): $(OBJ) update_gitignore | ||
$(CXX) $(CXXFLAGS) $(OBJ) -lpthread -o $(NAME) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters