Converted all Watcom makefiles to use GNU make

git-svn-id: svn://svn.cc65.org/cc65/trunk@1745 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-12-12 23:19:53 +00:00
parent 1ec291fa4e
commit a5489728ae
10 changed files with 265 additions and 703 deletions

View File

@@ -8,6 +8,7 @@ SUBDIRS = \
ca65 \
cc65 \
cl65 \
da65 \
grc \
ld65 \
od65
@@ -16,107 +17,20 @@ all: nt
nt:
cd common
make -f make\watcom.mak
cd ..\ar65
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 ..\da65
make -f make\watcom.mak
cd ..\grc
make -f make\watcom.mak
cd ..\ld65
make -f make\watcom.mak
cd ..\od65
make -f make\watcom.mak
cd ..
for %%i in ($(SUBDIRS)) do $(MAKE) TARGET=NT -C %%i -f make\watcom.mak
dos:
cd common
make -DTARGET=DOS32 -f make\watcom.mak
cd ..\ar65
make -DTARGET=DOS32 -f make\watcom.mak
cd ..\ca65
make -DTARGET=DOS32 -f make\watcom.mak
cd ..\cc65
make -DTARGET=DOS32 -f make\watcom.mak
cd ..\cl65
make -DTARGET=DOS32 -f make\watcom.mak
cd ..\da65
make -DTARGET=DOS32 -f make\watcom.mak
cd ..\grc
make -DTARGET=DOS32 -f make\watcom.mak
cd ..\ld65
make -DTARGET=DOS32 -f make\watcom.mak
cd ..\od65
make -DTARGET=DOS32 -f make\watcom.mak
cd ..
for %%i in ($(SUBDIRS)) do $(MAKE) TARGET=DOS32 -C %%i -f make\watcom.mak
os2:
cd common
make -DTARGET=OS2 -f make\watcom.mak
cd ..\ar65
make -DTARGET=OS2 -f make\watcom.mak
cd ..\ca65
make -DTARGET=OS2 -f make\watcom.mak
cd ..\cc65
make -DTARGET=OS2 -f make\watcom.mak
cd ..\cl65
make -DTARGET=OS2 -f make\watcom.mak
cd ..\da65
make -DTARGET=OS2 -f make\watcom.mak
cd ..\grc
make -DTARGET=OS2 -f make\watcom.mak
cd ..\ld65
make -DTARGET=OS2 -f make\watcom.mak
cd ..\od65
make -DTARGET=OS2 -f make\watcom.mak
cd ..
for %%i in ($(SUBDIRS)) do $(MAKE) TARGET=OS2 -C %%i -f make\watcom.mak
clean:
cd common
make -f make\watcom.mak clean
cd ..\ar65
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 ..\da65
make -f make\watcom.mak clean
cd ..\grc
make -f make\watcom.mak clean
cd ..\ld65
make -f make\watcom.mak clean
cd ..\od65
make -f make\watcom.mak clean
cd ..
for %%i in ($(SUBDIRS)) do $(MAKE) -C %%i -f make\watcom.mak clean
strip:
@cd ar65
@-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 ..\da65
@-make -f make\watcom.mak strip
@cd ..\grc
@-make -f make\watcom.mak strip
@cd ..\ld65
@-make -f make\watcom.mak strip
@cd ..\od65
@-make -f make\watcom.mak strip
@cd ..
for %%i in ($(SUBDIRS)) do $(MAKE) -C %%i -f make\watcom.mak strip