* sim/ucsim/cmd.src/Makefile.in ($(PRJDIR)/libcmd.a): Changed all ar references...
[fw/sdcc] / sim / ucsim / cmd.src / Makefile.in
index da32d8bb8ca28dc6acd1c14dfd078cb0635c3e82..3edbab35dcc9ff47d7e6d1e0f48b0fcbdfed23a3 100644 (file)
@@ -17,7 +17,7 @@ PRJDIR                = ..
 
 DEFS            = $(subs -DHAVE_CONFIG_H,,@DEFS@)
 CPPFLAGS        = @CPPFLAGS@ -I. -I$(PRJDIR) \
-                 -I$(PRJDIR)/sim.src
+                 -I$(PRJDIR)/sim.src -I$(PRJDIR)/gui.src
 CFLAGS          = @CFLAGS@ -Wall
 CXXFLAGS        = @CXXFLAGS@ -Wall
 M_OR_MM         = @M_OR_MM@
@@ -34,8 +34,9 @@ man2dir         = $(mandir)/man2
 infodir         = @infodir@
 srcdir          = @srcdir@
 
-OBJECTS                = newcmd.o cmdutil.o cmdset.o syntax.o \
-                 get.o set.o timer.o bp.o info.o
+OBJECTS                = cmdset.o newcmd.o cmdutil.o syntax.o \
+                 get.o set.o timer.o bp.o info.o show.o cmdgui.o cmdconf.o \
+                 cmduc.o
 
 
 # Compiling entire program or any subproject
@@ -90,7 +91,7 @@ include clean.mk
 cmdlib: $(PRJDIR)/libcmd.a
 
 $(PRJDIR)/libcmd.a: $(OBJECTS)
-       ar -rcu $*.a $(OBJECTS)
+       $(AR) -rcu $*.a $(OBJECTS)
        $(RANLIB) $*.a
 
 .cc.o: