Skip to content

Commit

Permalink
「✨」 feat(Makefile): Added new rule to make file to set automaticly user
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyZox71 committed Nov 20, 2024
1 parent 6b3e9f0 commit eedde29
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ ${NAME}:
@${CC} ${FLAGS} ${SRCS} -o ${NAME}; \
printf "\e[1;32m[build successfull]\e[1;00m\n"

auto-name :
@${CC} ${FLAGS} ${SRCS} -D USER=\"$(USER)\" -o ${NAME}; \
printf "\e[1;32m[build successfull]\e[1;00m\n"

install :
@read -p "Enter your username, it will appear on your 42Header as (USERNAME@EMAIL) : " class_username; \
read -p "Enter your email, it will appear on your 42Header as (USERNAME@EMAIL): " class_email; \
Expand Down
33 changes: 33 additions & 0 deletions asdf.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* asdf.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: marvin <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/20 21:49:44 by marvin #+# #+# */
/* Updated: 2024/11/20 21:49:44 by marvin ### ########.fr */
/* */
/* ************************************************************************** */

#include "asdf.hpp"

asdf::asdf(void)
{

}

asdf::~asdf(void)
{

}

asdf::asdf(asdf &copy)
{
*this = copy;
}

asdf& asdf::operator=(const asdf& x)
{
return (*this);
}
27 changes: 27 additions & 0 deletions asdf.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* asdf.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: marvin <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/20 21:49:44 by marvin #+# #+# */
/* Updated: 2024/11/20 21:49:44 by marvin ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef __ASDF__
# define __ASDF__

class asdf
{
public:
asdf(void);
~asdf(void);
asdf(asdf &copy);
asdf& operator=(const asdf& x);
private:

};

#endif
27 changes: 27 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eedde29

Please sign in to comment.