blob: f63d40c2c57e937003e3e2c7e475cc857c17af16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Customize below to fit your system
# paths
PREFIX = /usr/local
# libs
LIBS =
PNG_LIBS = -lpng
JPEG_LIBS = -ljpeg
GIF_LIBS = -lgif
# flags
CPPFLAGS =
# debug
#CFLAGS = -std=c90 -ansi -pedantic -Wall -Wextra -O0 -g -ggdb ${CPPFLAGS}
#LDFLAGS = ${LIBS}
# optimized
CFLAGS = -std=c90 -ansi -pedantic -Wall -Wextra -Os ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
# compiler and linker
CC = cc
|