aboutsummaryrefslogtreecommitdiffstats
path: root/minilibx-linux/test/Makefile.gen
blob: 2a6fb27d1e2d5de3dbe681fc80ec28c6b6a92562 (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
25
26
INC=/usr/include
HT=Linux
DOCP=do_cp



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 -lbsd

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


re	: clean all