]> git.sur5r.net Git - cc65/blobdiff - src/make/watcom.mak
Added da65
[cc65] / src / make / watcom.mak
index 49fe3cd1057ba08ba103f03f8a526aab085ed191..1d3b3a27fb0f14252bbadad689a004b6610d4d3c 100644 (file)
@@ -2,13 +2,20 @@
 # Watcom Makefile for the cc65 binutils
 #
 
-SUBDIRS =              \
-       common          \
-       ar65            \
-       ca65            \
-       ld65
+SUBDIRS =              \
+       common          \
+       ar65            \
+       ca65            \
+       cc65            \
+       cl65            \
+       grc             \
+       ld65            \
+       od65
 
-all:
+all:   nt
+
+
+nt:
        cd common
        make -f make\watcom.mak
        cd ..\ar65
@@ -19,8 +26,56 @@ all:
        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 ..
+
+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 ..
+
+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 ..
 
 clean:
@@ -34,8 +89,14 @@ clean:
        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 ..
 
 strip:
@@ -47,8 +108,14 @@ strip:
        @-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 ..