aboutsummaryrefslogtreecommitdiffstats
path: root/minilibx_linux/test/Makefile.gen
blob: c13f70c57c78018fa88af769083d218547a023fa (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=x86_64
DOCP=do_cp



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