76 lines
1.8 KiB
Plaintext
76 lines
1.8 KiB
Plaintext
|
|
||
|
!include <ntwin32.mak>
|
||
|
|
||
|
|
||
|
all: gutils.dll gutils.lib # install
|
||
|
|
||
|
gutils.obj: gutils.c gutils.h
|
||
|
$(cc) $(cflags) $(cvars) gutils.c
|
||
|
|
||
|
gbit.obj: gbit.c gutils.h
|
||
|
$(cc) $(cflags) $(cvars) gbit.c
|
||
|
|
||
|
gfile.obj: gfile.c gutils.h
|
||
|
$(cc) $(cflags) $(cvars) gfile.c
|
||
|
|
||
|
gmem.obj: gmem.c gutils.h
|
||
|
$(cc) $(cflags) $(cvars) gmem.c
|
||
|
|
||
|
gdate.obj: gdate.c gutils.h
|
||
|
$(cc) $(cflags) $(cvars) gdate.c
|
||
|
|
||
|
status.obj: status.c gutils.h
|
||
|
$(cc) $(cflags) $(cvars) status.c
|
||
|
|
||
|
table.obj: table.c table.h tpriv.h gutils.h
|
||
|
$(cc) $(cflags) $(cvars) table.c
|
||
|
|
||
|
tprint.obj: tprint.c table.h tpriv.h gutils.h
|
||
|
$(cc) $(cflags) $(cvars) tprint.c
|
||
|
|
||
|
tpaint.obj: tpaint.c table.h tpriv.h gutils.h
|
||
|
$(cc) $(cflags) $(cvars) tpaint.c
|
||
|
|
||
|
tscroll.obj: tscroll.c table.h tpriv.h gutils.h
|
||
|
$(cc) $(cflags) $(cvars) tscroll.c
|
||
|
|
||
|
list.obj: list.c gutils.h
|
||
|
$(cc) $(cflags) $(cvars) list.c
|
||
|
|
||
|
sockets.obj: sockets.c gutils.h
|
||
|
$(cc) $(cflags) $(cvars) sockets.c
|
||
|
|
||
|
tree.obj: tree.c gutils.h
|
||
|
$(cc) $(cflags) $(cvars) tree.c
|
||
|
|
||
|
utils.obj: utils.c gutils.h
|
||
|
$(cc) $(cflags) $(cvars) utils.c
|
||
|
|
||
|
gutils.res: gutils.rc gutils.dlg gutilsrc.h horzline.cur vertline.cur
|
||
|
rc -r gutils.rc
|
||
|
|
||
|
OBJS = gutils.obj gfile.obj gbit.obj gmem.obj gdate.obj status.obj table.obj tscroll.obj tree.obj utils.obj tprint.obj tpaint.obj sockets.obj list.obj
|
||
|
|
||
|
gutils.dll gutils.lib: gutils.def gutils.res $(OBJS)
|
||
|
$(link) @<<
|
||
|
-base:0x1c000000
|
||
|
-dll
|
||
|
-subsystem:windows
|
||
|
-def:gutils.def
|
||
|
-entry:LibMain
|
||
|
-out:gutils.dll
|
||
|
$(OBJS) gutils.res $(guilibs) wsock32.lib
|
||
|
<<
|
||
|
|
||
|
gutils.exp: gutils.lib
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
install: gutils.dll gutils.h table.h gutils.lib
|
||
|
copy gutils.dll c:\nt\windows
|
||
|
copy gutils.h d:\nt\mstools\h
|
||
|
copy table.h d:\nt\mstools\h
|
||
|
copy gutils.lib d:\nt\mstools\lib
|