top_builddir = ../../
top_srcdir = @srcdir@/../..
-SLIB = $(top_builddir)/support/Util
-SDCCLIB = $(top_builddir)/src
+SLIB = $(top_srcdir)/support/Util
+SDCCLIB = $(top_srcdir)/src
VPATH = @srcdir@
srcdir = @srcdir@
bindir = @bindir@
STD_INC = @sdcc_include_dir@
-CPPFLAGS = @CPPFLAGS@ -I. -I$(top_builddir) -I$(top_srcdir) -I$(srcdir)/$(SLIB) -DHAVE_CONFIG_H
+CPPFLAGS = @CPPFLAGS@ -I. -I$(top_builddir) -I$(top_srcdir) -I$(SLIB) -DHAVE_CONFIG_H
CFLAGS = @CFLAGS@
M_OR_MM = @M_OR_MM@
LDFLAGS = @LDFLAGS@
OBJECTS = sdcdb.o symtab.o simi.o \
break.o cmd.o
-SLIBOBJS = NewAlloc.o SDCCerr.o
-SDCCOBJS = SDCCset.o SDCChasht.o
+SLIBOBJS = NewAlloc.o
+SDCCOBJS = SDCCset.o SDCChasht.o SDCCerr.o
SOURCES = $(patsubst %.o,%.c,$(OBJECTS))
SLIBSOURCES = $(patsubst %.o,$(SLIB)/%.c,$(SLIBOBJS))