* configure.in: added missing mcs51 in status output
[fw/sdcc] / sim / ucsim / cmd.src / Makefile.in
index 4621566eb4ba46555646c7466f7ef91d0d62dcc2..e6f72fab4960f65450c15c33bbbc9b854596adcc 100644 (file)
@@ -33,6 +33,7 @@ exec_prefix     = @exec_prefix@
 bindir          = @bindir@
 libdir          = @libdir@
 datadir         = @datadir@
+datarootdir     = @datarootdir@
 includedir      = @includedir@
 mandir          = @mandir@
 man1dir         = $(mandir)/man1
@@ -52,7 +53,7 @@ else
 OBJECTS += newcmdposix.o
 endif
 
-DEVEL          = $(shell ( bash -c "test -e $(top_builddir)devel && echo yes" ))
+DEVEL          = $(shell ( bash -c "test -e $(top_builddir)/devel && echo yes" ))
 
 # Compiling entire program or any subproject
 # ------------------------------------------
@@ -107,9 +108,9 @@ endif
 # My rules
 # --------
 
-cmdlib: $(top_builddir)libcmd.a
+cmdlib: $(top_builddir)/libcmd.a
 
-$(top_builddir)libcmd.a: $(OBJECTS)
+$(top_builddir)/libcmd.a: $(OBJECTS)
        ar -rcu $*.a $(OBJECTS)
        $(RANLIB) $*.a
 
@@ -136,7 +137,7 @@ endif
 # Remaking configuration
 # ----------------------
 checkconf:
-       @if [ -f $(top_builddir)devel ]; then\
+       @if [ -f $(top_builddir)/devel ]; then\
          $(MAKE) -f conf.mk srcdir="$(srcdir)" top_builddir="$(top_builddir)" freshconf;\
        fi