Use 'ao-dbg' instead of 's51' to communicate with TeleMetrum
[fw/sdcc] / Bcc.inc
diff --git a/Bcc.inc b/Bcc.inc
index 68c872d8074cd67c20bee55293d8b280bf53b288..a2ff0f6faba97daf3b9228e60ed3a965e7bab326 100644 (file)
--- a/Bcc.inc
+++ b/Bcc.inc
@@ -1,6 +1,14 @@
 #Generic rules and options for building with Borland C++
 
-OFLAGS = -6 -O2 -g0 -w-proto
+.cacheautodepend
+
+YACC = bison
+LEX = flex
+CC = bcc32
+
+SLIB = $(PRJDIR)/support/Util
+
+OFLAGS = -6 -O2 -w-proto -g0
 
 .c.obj:
-        BCC32 -c $(OFLAGS) $(CFLAGS) $(CPPFLAGS) $<
+        $(CC) -c -o$@ $(OFLAGS) $(CFLAGS) $(CPPFLAGS) -I$(SLIB) $<