* device/lib/printf_large.c: 6 bytes less __data mem (6 more __idata)
[fw/sdcc] / src / Makefile.in
index 6084aa72a803b4c1e0ee41e5a5fd9d8ad3eea36c..7a5f62f4f2104c48bdbece2d524bc233134e2b32 100644 (file)
@@ -7,7 +7,7 @@ top_srcdir      = @top_srcdir@
 top_builddir   = @top_builddir@
 VPATH =           @srcdir@
 
-include $(top_builddir)Makefile.common
+include $(top_builddir)/Makefile.common
 
 USE_ALT_LEX    = 0
 
@@ -24,7 +24,7 @@ ifdef SDCC_SUB_VERSION
 CFLAGS         += -DSDCC_SUB_VERSION_STR=\"$(SDCC_SUB_VERSION)\"
 endif
 
-SLIBOBJS       = SDCCerr.o NewAlloc.o MySystem.o BuildCmd.o dbuf.o findme.o
+SLIBOBJS       = SDCCerr.o NewAlloc.o MySystem.o BuildCmd.o dbuf.o dbuf_string.o findme.o
 
 OBJECTS        = SDCCy.o SDCChasht.o SDCCmain.o \
                  SDCCsymt.o SDCCopt.o SDCCast.o SDCCmem.o SDCCval.o \
@@ -44,7 +44,7 @@ endif
 SLIBSOURCES    = $(patsubst %.o,$(SLIB)/%.c,$(SLIBOBJS))
 SOURCES                = $(patsubst %.o,%.c,$(OBJECTS))
 
-TARGET         = $(top_builddir)bin/sdcc$(EXEEXT)
+TARGET         = $(top_builddir)/bin/sdcc$(EXEEXT)
 
 # Compiling entire program or any subproject
 # ------------------------------------------
@@ -55,8 +55,8 @@ $(PORT_LIBS): FORCE
 
 FORCE:
 
-$(top_builddir)support/gc/libgc.a:
-       $(MAKE) -C $(top_builddir)support/gc
+$(top_builddir)/support/gc/libgc.a:
+       $(MAKE) -C $(top_builddir)/support/gc
 
 # Compiling and installing everything and runing test
 # ---------------------------------------------------
@@ -142,7 +142,7 @@ version.h: ../ChangeLog
 # Remaking configuration
 # ----------------------
 checkconf:
-       @if [ -f $(top_builddir)devel ]; then\
+       @if [ -f $(top_builddir)/devel ]; then\
          $(MAKE) -f $(srcdir)/conf.mk srcdir="$(srcdir)" top_builddir="$(top_builddir)" \
          freshconf;\
        fi