aboutsummaryrefslogtreecommitdiffstats
path: root/minilibx_linux/test/Makefile.mk
blob: 5238a1278f68f5478b033db5042bb0b7286c19b2 (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=gcc

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

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

all	:$(NAME)

$(NAME)	:$(OBJ)
	$(CC) -o $(NAME) $(OBJ) $(shell pkg-config --libs --static mlx)

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


re	: clean all