-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathmakeinclude
More file actions
38 lines (27 loc) · 793 Bytes
/
Copy pathmakeinclude
File metadata and controls
38 lines (27 loc) · 793 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
#####################################################################
# C compiler
# linux / Windows MinGW
CC= gcc
CFLAGS= -g -Wall -O2 -w
LFLAGS=
#####################################################################
# SDL configuration (for the examples only)
UI_LIBS=$(shell sdl-config --libs)
UI_INCLUDES=$(shell sdl-config --cflags)
#####################################################################
# OpenGL configuration (for the examples only)
# use TinySDGL
GL_LIBS= -L../lib -lTinySDGL
GL_INCLUDES= -I../include
GL_DEPS= ../lib/libTinySDGL.a
# use Mesa
#GL_LIBS= -lMesaGL
#GL_INCLUDES=
#GL_DEPS=
# use OpenGL
#GL_LIBS= -lGL
#GL_INCLUDES=
#GL_DEPS=
####################################################################
# Compile and link control
DIRS= src examples