# Makefile for DJGPP V2/GRX2

CC = gcc
CFLAGS = -s -O3 -Wall
LIBS = -lj -lgrx20
DEL = del
COPY = copy
LIBDIR = c:\gcc\lib

TARGET  = target/djv2_13h/palette.o target/djgrx2/blit.o    \
	  target/djgrx2/misc.o    target/djgrx2/mouse.o   \
	  target/djv2_13h/kb.o    target/djv2_13h/dosput.o \
	  target/djv2_13h/uclock.o target/djv2_13h/joystick.o

include target/common

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

include target/clean.dos

clean : partialclean
	del target\djgrx2\*.o
	del target\djv2_13h\*.o

