Lines 6-23
Link Here
|
6 |
.SUFFIXES: .c .o .obj |
6 |
.SUFFIXES: .c .o .obj |
7 |
|
7 |
|
8 |
CC = gcc |
8 |
CC = gcc |
9 |
CFLAGS = -pipe -O2 -Wall |
9 |
CFLAGS = -pipe -O2 |
10 |
CFLAGS += -g # debug symbols |
10 |
CFLAGS += -g # debug symbols |
11 |
CFLAGS += -D_FILE_OFFSET_BITS=64 |
11 |
CFLAGS += -D_FILE_OFFSET_BITS=64 |
12 |
CFLAGS += -D_LARGEFILE_SOURCE |
12 |
CFLAGS += -D_LARGEFILE_SOURCE |
13 |
### -- If you dont want to use JPEG resize feature, comment it out. |
13 |
### -- If you dont want to use JPEG resize feature, comment it out. |
14 |
CFLAGS += -DRESIZE_JPEG |
14 |
CFLAGS += -DRESIZE_JPEG |
15 |
CFLAGS += -I/usr/local/include |
15 |
CFLAGS += -I/usr/local/include |
16 |
LDFLAGS += -static -L/usr/local/lib -ljpeg -ldvdread |
16 |
LDFLAGS += -L/usr/local/lib -ljpeg -ldvdread -lm |
17 |
|
17 |
|
18 |
# keep the following lines only if you have the w32api library |
18 |
# keep the following lines only if you have the w32api library |
19 |
LDFLAGS += -L/lib/w32api -lole32 -luuid |
19 |
#LDFLAGS += -L/lib/w32api -lole32 -luuid |
20 |
CFLAGS += -DHAVE_W32API |
20 |
#CFLAGS += -DHAVE_W32API |
21 |
|
21 |
|
22 |
### -- |
22 |
### -- |
23 |
LDFLAGS += -s # strip symbols |
23 |
LDFLAGS += -s # strip symbols |