* src/SDCCBlock.c (addiCodeToeBBlock): fixed bug 1652207: GOTO icodes appended by...
[fw/sdcc] / src / Makefile.in
index 723642616dc78baf786bc1007bf7def0b29642d5..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
 
@@ -18,13 +18,13 @@ PORT_LIBS   = $(PORTS:%=%/port.a)
 LIBS           = -lm @LIBS@
 
 #CFLAGS          += -Werror
-CPPFLAGS       += -I$(srcdir) @CPPFLAGS@
+CPPFLAGS       += -I$(srcdir)
 
 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