# Makefile for DJGPP_V2

CC = gcc
LIBS = -lj
DEL = del
COPY = copy
#Change this to where your djgpp library files are installed
LIBDIR = c:\gcc\lib
#Full optimisation suitable for JLIB_PRODUCTION build
#CFLAGS = -O3 -Wall
#Full debugging information suitable for JDEBUG or JLIB_PARANOID build
CFLAGS = -g -Wall

TARGET = target/dj_vesa/palette.o target/dj_vesa/misc.o \
	target/dj_vesa/uclock.o target/dj_vesa/kb.o   \
	target/dj_vesa/mouse.o   target/dj_vesa/blit.o target/dj_vesa/joystick.o

include target/common

%.exe : %.c ; $(CC) $(CFLAGS) $< -o $@ $(LIBS)

include target/clean.dos

clean : partialclean
	del target\dj_vesa\*.o
