-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (21 loc) · 1.12 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# **************************************************************************** #
# #
# :::::::: #
# Makefile :+: :+: #
# +:+ #
# By: farodrig <marvin@codam.nl> +#+ #
# +#+ #
# Created: 2020/08/31 17:55:25 by farodrig #+# #+# #
# Updated: 2020/08/31 17:55:27 by farodrig ######## odam.nl #
# #
# **************************************************************************** #
NAME = BSQ
OBJS = `find . -name "*.o"`
LIBS = `find ./libs -name "*.c"`
$(NAME): objects
@gcc -Wall -Wextra -Wall main.c $(OBJS) -o $(NAME)
objects: clean
@gcc -c -Wall -Wextra -Wall $(LIBS)
@mv *.o ./dist/
clean:
@find ./dist -name "*.o" -delete