* */Makefile.in: removed annoying warning:
[fw/sdcc] / sim / ucsim / main_in.mk
index 11ec6e32fd0aedaa69b1b07bb29658d0e82494a3..fa696ea6d5aaf28dc616e8dcac9b6b70444d094c 100644 (file)
@@ -21,7 +21,7 @@ GUIDIR                = gui.src
 
 DEFS            = $(subs -DHAVE_CONFIG_H,,@DEFS@)
 # FIXME: -Imcs51 must be removed!!!
-CPPFLAGS        = @CPPFLAGS@ -I$(top_builddir). -I$(srcdir) \
+CPPFLAGS        = @CPPFLAGS@ -I$(top_builddir) -I$(srcdir) \
                   -I$(top_srcdir)/$(SIMDIR) \
                  -I$(top_srcdir)/$(CMDDIR) -I$(top_srcdir)/$(GUIDIR)
 CFLAGS          = @CFLAGS@ -I$(top_builddir) -Wall
@@ -39,6 +39,7 @@ exec_prefix     = @exec_prefix@
 bindir          = @bindir@
 libdir          = @libdir@
 datadir         = @datadir@
+datarootdir     = @datarootdir@
 includedir      = @includedir@
 mandir          = @mandir@
 man1dir         = $(mandir)/man1
@@ -101,7 +102,7 @@ dep: main.dep
 main.dep: $(ALL_SOURCES) *.h $(srcdir)/*.h
        $(CXXCPP) $(CPPFLAGS) $(M_OR_MM) $(filter %.cc,$^) >main.dep
 
-include main.dep
+-include main.dep
 include $(srcdir)/clean.mk
 
 #parser.cc: parser.y