aboutsummaryrefslogtreecommitdiffstats
path: root/minilibx-bsd/test/Makefile.mk
blob: af3e60e22df0657d9b58137d2fb50449a284f080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24


INC=%%%%

INCLIB=$(INC)/../lib

CC=clang

CFLAGS= -I$(INC) -O3 -I..

NAME= mlx-test
SRC = main.c
OBJ = $(SRC:.c=.o)

all	:$(NAME)

$(NAME)	:$(OBJ)
	$(CC) -o $(NAME) $(OBJ) -L.. -lmlx -L$(INCLIB) -lXext -lX11 -lm

clean	:
	rm -f $(NAME) $(OBJ) *~ core *.core


re	: clean all