fc3a696ca3
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1324 6ac86273-5f31-0410-b378-82cca8765d1b
34 lines
602 B
Makefile
34 lines
602 B
Makefile
|
|
# nmake makefile
|
|
# share must be linked as COM file
|
|
# best is to use TC 2.01 which is freely available
|
|
|
|
USETC2=1
|
|
COM=1
|
|
|
|
!if $(USETC2)
|
|
TCC=d:\alt\tc201\tcc
|
|
TLINK=d:\alt\tc201\tlink
|
|
LIBS=d:\alt\tc201
|
|
COPT=-c -mt -1 -Id:\alt\tc201
|
|
LOPT=/m /s /c /t
|
|
!else
|
|
TCC=d:\alt\tc30\bin\tcc
|
|
TLINK=d:\alt\tc30\bin\tlink
|
|
LIBS=d:\alt\tc30\lib
|
|
!if $(COM)
|
|
COPT=-c -mt -1 -Id:\alt\tc30\Include
|
|
LOPT=-m -s -c -t
|
|
!else
|
|
COPT=-c -ms -1 -Id:\alt\tc30\Include
|
|
LOPT=-m -s -c
|
|
!endif
|
|
!endif
|
|
|
|
SHARE.COM: SHARE.OBJ
|
|
$(TLINK) $(LOPT) $(LIBS)\c0t.obj share.obj,share.com,,$(LIBS)\cs.lib
|
|
|
|
SHARE.OBJ: SHARE.C
|
|
$(TCC) $(COPT) share.c
|
|
|