* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc] / Makefile.bcc
index f79166285d8577294089ce3b41ce1a016887166d..366958af9ef0f904295f12477f1953dbf19a793c 100644 (file)
@@ -1,59 +1,40 @@
-all: as cpp gc ports sdcc packihx
+# Makefile for Borlad C++
 
-as:
-       cd as\mcs51
-       make -f Makefile.bcc
-       cd ..\..
+all: config asx8051 as-z80 sdcc packihx cpp
+
+
+config: sdcc_vc.h
+
+sdcc_vc.h: sdcc_vc_in.h configure_vc.awk
+        gawk -f configure_vc.awk sdcc_vc_in.h > sdcc_vc.h
+
+asx8051:
+        cd as\mcs51
+        make -f Makefile.bcc
+        cd ..\..
+
+as-z80:
+        cd as\z80
+        make -f Makefile.bcc
+        cd ..\..
 
 cpp:
-       cd support\cpp
-       make -f Makefile.bcc
-       cd ..\..
-
-gc:
-       cd support\gc
-       make -f BCC_MAKEFILE gc.lib
-       cd ..\..
-
-ports: z80 mcs51 avr ds390 pic izt
-
-z80:
-       cd src\z80
-       make -f Makefile.bcc
-       cd ..\..
-
-mcs51:
-       cd src\mcs51
-       make -f Makefile.bcc
-       cd ..\..
-
-avr:
-       cd src\avr
-       make -f Makefile.bcc
-       cd ..\..
-
-ds390:
-       cd src\ds390
-       make -f Makefile.bcc
-       cd ..\..
-
-pic:
-       cd src\pic
-       make -f Makefile.bcc
-       cd ..\..
-
-izt:
-        cd src\izt
-       make -f Makefile.bcc
+        cd support\cpp
+        make -f Makefile.bcc
         cd ..\..
 
 sdcc:
-       cd src
-       make -f Makefile.bcc
-       cd ..
+        cd src
+        make -f Makefile.bcc
+        cd ..
 
 packihx:
-       cd packihx
-       make -f Makefile.bcc
-       cd ..
+        cd support\packihx
+        make -f Makefile.bcc
+        cd ..
+
+librarian:
+        cd support\librarian
+        make -f Makefile.bcc
+        cd ..\..