X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=sim%2Fucsim%2Fcmd.src%2FMakefile.in;h=cf3f6580b1e865c1c49ed4af4cf273f2c6577083;hb=03a0895b993094520effd7f386db2152da3c93a8;hp=4621566eb4ba46555646c7466f7ef91d0d62dcc2;hpb=90f4aedaef8a2310573eef905f95c671f84e5cde;p=fw%2Fsdcc diff --git a/sim/ucsim/cmd.src/Makefile.in b/sim/ucsim/cmd.src/Makefile.in index 4621566e..cf3f6580 100644 --- a/sim/ucsim/cmd.src/Makefile.in +++ b/sim/ucsim/cmd.src/Makefile.in @@ -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 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