# Gizmos makefile for Watcom C++
-EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
WXDIR = ..\..\..
+EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
-!include $(WXDIR)\src\makewat.env
-
-GIZMOSLIB = $(WXDIR)\lib\gizmos.lib
-THISDIR = $(WXDIR)\contrib\src\gizmos
-OUTPUTDIR = $(THISDIR)\
-
-NAME = gizmos
-LNK = $(name).lnk
-
-OBJECTS = multicell.obj splittree.obj editlbox.obj dynamicsash.obj ledctrl.obj
+LIBTARGET = $(WXDIR)\lib\gizmos_w.lib
-all: $(GIZMOSLIB) .SYMBOLIC
+OBJECTS = &
+ $(OUTPUTDIR)\multicell.obj &
+ $(OUTPUTDIR)\splittree.obj &
+ $(OUTPUTDIR)\editlbox.obj &
+ $(OUTPUTDIR)\dynamicsash.obj &
+ $(OUTPUTDIR)\ledctrl.obj
-$(GIZMOSLIB): $(OBJECTS)
- *wlib /b /c /n /P=256 $(GIZMOSLIB) $(OBJECTS)
+!include $(WXDIR)\src\makelib.wat
-clean: .SYMBOLIC
- -erase *.obj *.bak *.err *.pch $(GIZMOSLIB) *.lbc