From: cuz Date: Thu, 8 Jun 2000 20:32:44 +0000 (+0000) Subject: Watcom/NT fixes X-Git-Tag: V2.12.0~3475 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=612627f5cab7667cf2b7b56692971270bf968b34;p=cc65 Watcom/NT fixes git-svn-id: svn://svn.cc65.org/cc65/trunk@37 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/make/watcom.mak b/src/cc65/make/watcom.mak index b2fde194c..b15123fab 100644 --- a/src/cc65/make/watcom.mak +++ b/src/cc65/make/watcom.mak @@ -97,6 +97,7 @@ OBJS = anonname.obj \ symtab.obj \ util.obj +LIBS = ..\common\common.lib .PRECIOUS $(OBJS:.obj=.c) @@ -112,7 +113,7 @@ cc65: cc65.exe # Other targets -cc65.exe: $(OBJS) +cc65.exe: $(OBJS) $(LIBS) $(LD) system $(SYSTEM) @&&| DEBUG ALL OPTION QUIET @@ -128,7 +129,6 @@ FILE datatype.obj FILE declare.obj FILE error.obj FILE expr.obj -FILE funcact.obj FILE funcdesc.obj FILE function.obj FILE global.obj @@ -151,5 +151,14 @@ FILE stdfunc.obj FILE symentry.obj FILE symtab.obj FILE util.obj +LIBRARY ..\common\common.lib | +clean: + @if exist *.obj del *.obj + @if exist cc65.exe del cc65.exe + +strip: + @-wstrip cc65.exe + + diff --git a/src/cl65/make/watcom.mak b/src/cl65/make/watcom.mak index ca5e57644..2acc3fa0f 100644 --- a/src/cl65/make/watcom.mak +++ b/src/cl65/make/watcom.mak @@ -93,3 +93,12 @@ FILE main.obj FILE mem.obj | + +clean: + @if exist *.obj del *.obj + @if exist cl65.exe del cl65.exe + +strip: + @-wstrip cl65.exe + + diff --git a/src/make/watcom.mak b/src/make/watcom.mak index d9a341ac3..49fe3cd10 100644 --- a/src/make/watcom.mak +++ b/src/make/watcom.mak @@ -15,6 +15,10 @@ all: make -f make\watcom.mak cd ..\ca65 make -f make\watcom.mak + cd ..\cc65 + make -f make\watcom.mak + cd ..\cl65 + make -f make\watcom.mak cd ..\ld65 make -f make\watcom.mak cd .. @@ -26,6 +30,10 @@ clean: make -f make\watcom.mak clean cd ..\ca65 make -f make\watcom.mak clean + cd ..\cc65 + make -f make\watcom.mak clean + cd ..\cl65 + make -f make\watcom.mak clean cd ..\ld65 make -f make\watcom.mak clean cd .. @@ -35,8 +43,13 @@ strip: @-make -f make\watcom.mak strip @cd ..\ca65 @-make -f make\watcom.mak strip + @cd ..\cc65 + @-make -f make\watcom.mak strip + @cd ..\cl65 + @-make -f make\watcom.mak strip @cd ..\ld65 @-make -f make\watcom.mak strip @cd .. +