-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
21 lines (18 loc) · 877 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# ---Makefile---
#target: dependencies
# action
all: image_display_NV_optimized image_display
image_display: image_display.o glad.o stb_image.o functions.o
gcc image_display.o glad.o stb_image.o functions.o -o image_display -lglfw3 -lgdi32 -lopengl32 -std=c99 -pedantic -pipe -Wall -Wextra
image_display_NV_optimized: image_display_NV_optimized.o glad.o stb_image.o functions.o
gcc image_display_NV_optimized.o glad.o stb_image.o functions.o -o image_display_NV_optimized -lglfw3 -lgdi32 -lopengl32 -std=c99 -pedantic -pipe -Wall -Wextra
image_display.o: src/image_display.c
gcc -c src/image_display.c
glad.o: src/glad.c
gcc -c src/glad.c
stb_image.o: src/stb_image.c
gcc -c src/stb_image.c
functions.o: src/functions.c
gcc -c src/functions.c
image_display_NV_optimized.o: src/image_display_NV_optimized.c
gcc -c src/image_display_NV_optimized.c