aboutsummaryrefslogtreecommitdiff
path: root/cpp00/ex00
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-17 16:51:56 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-17 16:51:56 +0100
commita92013c92bfcd50b0e2561280c9eaa604843ade0 (patch)
treeb617be1b683acfccbb93162945e3cb1dd8171aac /cpp00/ex00
parent331c3596660fed6c8b04fdfd0a89435ccffaaf20 (diff)
downloadpiscine_cpp-a92013c92bfcd50b0e2561280c9eaa604843ade0.tar.gz
piscine_cpp-a92013c92bfcd50b0e2561280c9eaa604843ade0.tar.bz2
piscine_cpp-a92013c92bfcd50b0e2561280c9eaa604843ade0.zip
Fixing missleading indentation error from clang++ on Linux
Diffstat (limited to 'cpp00/ex00')
-rw-r--r--cpp00/ex00/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/cpp00/ex00/Makefile b/cpp00/ex00/Makefile
index 2bfc080..668507b 100644
--- a/cpp00/ex00/Makefile
+++ b/cpp00/ex00/Makefile
@@ -6,32 +6,27 @@
# By: cacharle <me@cacharle.xyz> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/11/09 09:16:44 by cacharle #+# #+# #
-# Updated: 2020/11/09 09:16:45 by cacharle ### ########.fr #
+# Updated: 2020/11/17 16:41:44 by charles ### ########.fr #
# #
# ############################################################################ #
RM = rm -f
-CC = clang++
-CCFLAGS = -Wall -Wextra -Werror
+CXX = clang++
+CXXFLAGS = -Wall -Wextra -Werror
NAME = megaphone
SRC = megaphone.cpp
-OBJ = $(SRC:.cpp=.o)
all: $(NAME)
-$(NAME): $(OBJ)
- $(CC) $(CCFLAGS) -o $@ $^
-
-%.o: %.c
- $(CC) $(CCFLAGS) -o $@ $<
+$(NAME): $(SRC)
+ $(CXX) $(CXXFLAGS) -o $@ $^
clean:
- $(RM) $(OBJ)
+ $(RM) $(NAME)
fclean: clean
- $(RM) $(NAME)
re: fclean all