Applied patch #2762516
[fw/sdcc] / Makefile.bcc
index e3c4ac5f4bf02ebbb23377990642153dea70800e..366958af9ef0f904295f12477f1953dbf19a793c 100644 (file)
@@ -1,49 +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
 
-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
+config: sdcc_vc.h
 
-z80:
-       cd src\z80
-       make -f Makefile.bcc
-       cd ..\..
+sdcc_vc.h: sdcc_vc_in.h configure_vc.awk
+        gawk -f configure_vc.awk sdcc_vc_in.h > sdcc_vc.h
 
-mcs51:
-       cd src\mcs51
-       make -f Makefile.bcc
-       cd ..\..
+asx8051:
+        cd as\mcs51
+        make -f Makefile.bcc
+        cd ..\..
 
-avr:
-       cd src\avr
-       make -f Makefile.bcc
-       cd ..\..
+as-z80:
+        cd as\z80
+        make -f Makefile.bcc
+        cd ..\..
 
-ds390:
-       cd src\ds390
-       make -f Makefile.bcc
-       cd ..\..
+cpp:
+        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 ..\..