]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makelib.bcc
Added more makefiles; fixed some samples for Cygwin
[wxWidgets.git] / src / makelib.bcc
diff --git a/src/makelib.bcc b/src/makelib.bcc
new file mode 100644 (file)
index 0000000..73705fb
--- /dev/null
@@ -0,0 +1,37 @@
+#
+# File:                makelib.b32
+# Author:      Julian Smart
+# Created:     1999
+# Updated:     
+# Copyright:
+#
+# Include file for libraries. Set LIBTARGET and OBJECTS
+# before including this file.
+
+# WXWIN and BCCDIR are set by parent make
+
+WXDIR = $(WXWIN)
+
+!include $(WXDIR)\src\makebcc.env
+
+$(LIBTARGET): $(OBJECTS)
+        erase $(LIBTARGET)
+       tlib $(LIBTARGET) /P1024 @&&!
+-+$(OBJECTS:.obj =.obj -+)
+!
+
+.$(SRCSUFF).obj:
+       bcc $(CPPFLAGS) -c {$< }
+
+.c.obj:
+       bcc $(CPPFLAGS) -P- -c {$< }
+
+clean:
+        -erase *.obj
+        -erase *.exe
+        -erase *.res
+        -erase *.map
+        -erase *.rws
+        -erase $(LIBTARGET)
+
+