aboutsummaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-01-03 14:42:46 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-01-03 14:47:11 +0100
commitcc2adbf09541c0d9309d66f719c86e7fe5d351d7 (patch)
treef9d61b11e57dcdfebc9092554df1a64d0d4958c5 /common/Makefile
parente874ad94a31a8259b8eb7ad2865767c081bcd279 (diff)
downloadphilosophers-rendu.tar.gz
philosophers-rendu.tar.bz2
philosophers-rendu.zip
Updated philo directories for correctionrendu
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile38
1 files changed, 0 insertions, 38 deletions
diff --git a/common/Makefile b/common/Makefile
deleted file mode 100644
index d23cac9..0000000
--- a/common/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# **************************************************************************** #
-# #
-# ::: :::::::: #
-# Makefile :+: :+: :+: #
-# +:+ +:+ +:+ #
-# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
-# +#+#+#+#+#+ +#+ #
-# Created: 2020/02/09 22:39:08 by cacharle #+# #+# #
-# Updated: 2021/01/02 10:47:14 by cacharle ### ########.fr #
-# #
-# **************************************************************************** #
-
-LIB = ar rcs
-RM = rm -rf
-
-CC = gcc
-CCFLAGS = -std=c99 -O2 -Wall -Wextra -Werror
-
-NAME = libphilocommon.a
-
-SRC = $(shell find . -type f -name "*.c")
-OBJ = $(SRC:.c=.o)
-
-all: $(NAME)
-
-$(NAME): $(OBJ)
- $(LIB) $(NAME) $(OBJ)
-
-%.o: %.c
- $(CC) $(CCFLAGS) -c -o $@ $<
-
-clean:
- $(RM) $(OBJ)
- $(RM) $(NAME)
-
-re: clean all
-
-.PHONY: all clean re