aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-09 18:04:57 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-12 21:35:23 -0400
commit4218a6dc8b71192ab23dfebb334a9f123375cf3b (patch)
tree5bd2de3556e9530d214cb99b5931037ae0d6823a /sim/erc32
parentba307cddcf7e42c5099632dcbad598d8f96044f4 (diff)
downloadgdb-4218a6dc8b71192ab23dfebb334a9f123375cf3b.zip
gdb-4218a6dc8b71192ab23dfebb334a9f123375cf3b.tar.gz
gdb-4218a6dc8b71192ab23dfebb334a9f123375cf3b.tar.bz2
sim: erc32/ppc: fix handling of $EXEEXT
Diffstat (limited to 'sim/erc32')
-rw-r--r--sim/erc32/ChangeLog4
-rw-r--r--sim/erc32/Makefile.in6
2 files changed, 7 insertions, 3 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index a6cff9f..db08909 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,5 +1,9 @@
2021-06-12 Mike Frysinger <vapier@gentoo.org>
+ * Makefile.in: Add $(EXEEXT) to sis.
+
+2021-06-12 Mike Frysinger <vapier@gentoo.org>
+
* aclocal.m4, config.in, configure: Regenerate.
2021-06-12 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/erc32/Makefile.in b/sim/erc32/Makefile.in
index f52daf7..5c29b0a 100644
--- a/sim/erc32/Makefile.in
+++ b/sim/erc32/Makefile.in
@@ -41,9 +41,9 @@ SIM_EXTRA_CFLAGS += -DFAST_UART -I$(srcroot)
# `sis' doesn't need interf.o.
SIS_OFILES = exec.o erc32.o func.o help.o float.o
-all: sis
-sis: sis.o $(SIS_OFILES) $(COMMON_OBJS) $(LIBDEPS)
- $(CC) $(ALL_CFLAGS) -o sis \
+all: sis$(EXEEXT)
+sis$(EXEEXT): sis.o $(SIS_OFILES) $(COMMON_OBJS) $(LIBDEPS)
+ $(CC) $(ALL_CFLAGS) -o sis$(EXEEXT) \
sis.o $(SIS_OFILES) $(COMMON_OBJS) $(EXTRA_LIBS)
# Copy the files into directories where they will be run.