# Make File Creation for graphics test programs
# Operating system OS/2 2.1

.SUFFIXES: .c .rc

OBJS  = gtest1.obj gtest2.obj
LIBS  = graphics
LNK   = /CO /NOL /ALIGN:4
.c.obj:
	  ICC.EXE /Ti /Sa /Q /Gm+ /Ge+ /C $*.c

.rc.res:
	  rc -r $*.rc

all: gtest1.exe gtest2.exe

#dependicies
gtest1.exe: gtest1.obj makefile gtest1.def
	LINK386.EXE $(LNK) gtest1.obj,gtest1,,$(LIBS), gtest1.def

#dependicies
gtest2.exe: gtest2.obj gtest2.res makefile gtest2.def
	LINK386.EXE $(LNK) gtest2.obj,gtest2,,$(LIBS), gtest2.def
	rc gtest2

clean:
	del *.obj *.exe *.map

gtest1.obj:   gtest1.c
gtest2.obj:   gtest2.c gtest2.h
gtest2.res:   gtest2.rc gtest2.dlg gtest2.h

