From e7eca65889dd504127655409086a2b10d4034820 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Wed, 27 May 2020 12:07:48 +0300 Subject: [PATCH] added watcom makefile for windows --- Makefile.wat | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Makefile.wat diff --git a/Makefile.wat b/Makefile.wat new file mode 100644 index 0000000..f9a94cd --- /dev/null +++ b/Makefile.wat @@ -0,0 +1,22 @@ +obj = test.obj miniglut.obj +bin = test.exe + +CC = wcc386 +LD = wlink +CFLAGS = -d3 -6r -otexan -zq -bt=nt +LDFLAGS = system nt library { opengl32 winmm } + +$(bin): $(obj) + $(LD) name $@ debug all file { $(obj) } $(LDFLAGS) + +.c.obj: .autodepend + $(CC) -fo=$@ $(CFLAGS) $[* + +!ifdef __UNIX__ +clean: .symbolic + rm -f $(obj) $(bin) +!else +clean: .symbolic + del $(obj) + del $(bin) +!endif -- 1.7.10.4