1 --- vnc_reflector/Makefile.orig 2005-12-14 01:25:53.000000000 +0100
2 +++ vnc_reflector/Makefile 2005-12-14 01:28:05.000000000 +0100
5 # Variables you might want to edit: CFLAGS, CONFFLAGS
8 +IFLAGS = -I. -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
12 -CFLAGS = -O2 $(IFLAGS)
13 +CFLAGS = $(OFLAGS) $(IFLAGS)
15 #CFLAGS = -g -pedantic -Wall $(IFLAGS)
18 CONFFLAGS = -DUSE_POLL
20 # Link with zlib and JPEG libraries
21 -LDFLAGS = -L/usr/local/lib -lz -ljpeg
22 +LDFLAGS = -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lz -ljpeg