aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2005-04-27 20:38:08 +0000
committerPaul Brook <paul@codesourcery.com>2005-04-27 20:38:08 +0000
commit4ec242d7be3f7d2fdd3f3e4927fcb0b895fb7dd2 (patch)
treeaaa977994a8ce43b88dcfd3024d5d5f18ce60668 /sim/common
parent26c61ae50be6d702a8d40bf3c968048a1801057a (diff)
downloadgdb-4ec242d7be3f7d2fdd3f3e4927fcb0b895fb7dd2.zip
gdb-4ec242d7be3f7d2fdd3f3e4927fcb0b895fb7dd2.tar.gz
gdb-4ec242d7be3f7d2fdd3f3e4927fcb0b895fb7dd2.tar.bz2
2005-04-27 Paul Brook <paul@codesourcery.com>
* common/Make-common.in: Add $(EXEEXT) to "run".
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/Make-common.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index edcb1d2..ed35cf6 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -252,14 +252,14 @@ RUNTESTFLAGS =
callback_h = $(srcroot)/include/gdb/callback.h
remote_sim_h = $(srcroot)/include/gdb/remote-sim.h
-all: $(SIM_EXTRA_ALL) libsim.a run .gdbinit
+all: $(SIM_EXTRA_ALL) libsim.a run$(EXEEXT) .gdbinit
libsim.a: $(LIB_OBJS)
rm -f libsim.a
$(AR) $(AR_FLAGS) libsim.a $(LIB_OBJS)
$(RANLIB) libsim.a
-run: $(SIM_RUN_OBJS) libsim.a $(LIBDEPS)
+run$(EXEEXT): $(SIM_RUN_OBJS) libsim.a $(LIBDEPS)
$(CC) $(ALL_CFLAGS) -o run$(EXEEXT) \
$(SIM_RUN_OBJS) libsim.a $(EXTRA_LIBS)
@@ -646,7 +646,7 @@ TAGS: force
clean: $(SIM_EXTRA_CLEAN)
rm -f *.[oa] *~ core
- rm -f run libsim.a
+ rm -f run$(EXEEXT) libsim.a
rm -f gentmap targ-map.c targ-vals.h stamp-tvals
if [ ! -f Make-common.in ] ; then \
rm -f $(BUILT_SRC_FROM_COMMON) ; \