#makefile for X_WINDOWS build of JLib.
# I have -O3 in the CFLAGS otherwise my inlined string functs don't work. YMMV

CC = gcc
COPY = cp
LIBDIR = /usr/lib
DEL = rm -f
# You might need to change -lX to -lX11 (under linux I'm pretty sure)
LIBS = -lj -L/usr/X11/lib -lX

#Full optimisation, suitable for a JLIB_PRODUCTION build
#CFLAGS  = -O3 -fno-strength-reduce -Wall -I/usr/X11/include
#full debugging information, suitable for a JLIB_DEBUG/PARANOID build (default)
#CFLAGS  = -g -Wall -I/usr/X11/include
# You might need to change -I<path> if X is installed somewhere funny...
CFLAGS  = -g -Wall -I/usr/X11/include

TARGET  = target/x/palette.o target/x/misc.o target/x/blit.o \
      target/x/kb.o target/x/mouse.o target/svgalib/uclock.o

include target/common

include target/clean.unx

