init(make/bonus): bonus rules done
This commit is contained in:
parent
94bf51a9fb
commit
6716df3af4
2 changed files with 6 additions and 4 deletions
4
Makefile
4
Makefile
|
|
@ -6,7 +6,7 @@
|
|||
# By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2025/05/02 15:40:00 by rparodi #+# #+# #
|
||||
# Updated: 2025/06/19 11:29:58 by rparodi ### ########.fr #
|
||||
# Updated: 2025/06/21 11:58:21 by rparodi ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
|
|
@ -72,6 +72,8 @@ END = \033[0m
|
|||
# All (make all)
|
||||
all: header $(NAME) footer
|
||||
|
||||
bonus: CPPFLAGS += -D BONUS=1
|
||||
bonus: all
|
||||
# Clean (make clean)
|
||||
clean:
|
||||
@printf '$(GREY) Removing $(END)$(RED)Objects$(END)\n'
|
||||
|
|
|
|||
|
|
@ -6,14 +6,14 @@
|
|||
/* By: omoudni <omoudni@student.42paris.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/05/12 14:16:03 by rparodi #+# #+# */
|
||||
/* Updated: 2025/06/05 11:10:45 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/06/21 11:59:02 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/******************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef DEBUG
|
||||
#define LOG std::endl << CLR_CYAN << "Debug: " << __FILE__ << ":" << __LINE__ << std::endl << CLR_RESET
|
||||
#ifndef BONUS
|
||||
#define BONUS 0
|
||||
#endif
|
||||
|
||||
enum e_code {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue