diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-09 18:04:57 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-12 21:35:23 -0400 |
commit | 4218a6dc8b71192ab23dfebb334a9f123375cf3b (patch) | |
tree | 5bd2de3556e9530d214cb99b5931037ae0d6823a /sim/ppc | |
parent | ba307cddcf7e42c5099632dcbad598d8f96044f4 (diff) | |
download | fsf-binutils-gdb-4218a6dc8b71192ab23dfebb334a9f123375cf3b.zip fsf-binutils-gdb-4218a6dc8b71192ab23dfebb334a9f123375cf3b.tar.gz fsf-binutils-gdb-4218a6dc8b71192ab23dfebb334a9f123375cf3b.tar.bz2 |
sim: erc32/ppc: fix handling of $EXEEXT
Diffstat (limited to 'sim/ppc')
-rw-r--r-- | sim/ppc/ChangeLog | 4 | ||||
-rw-r--r-- | sim/ppc/Makefile.in | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 49b3e66..2b1b2e8 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,5 +1,9 @@ 2021-06-12 Mike Frysinger <vapier@gentoo.org> + * Makefile.in: Add $(EXEEXT) to run and psim. + +2021-06-12 Mike Frysinger <vapier@gentoo.org> + * Makefile.in: Delete ALIGNMENT_CFLAGS. * configure.ac: Delete sim-alignment. * configure: Regenerate. diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 5d0dd74..af9695d 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -158,7 +158,7 @@ INTL_CFLAGS = @INCINTL@ TARGETLIB = libsim.a -all: run $(TARGETLIB) $(GDB_OBJ) +all: run$(EXEEXT) $(TARGETLIB) $(GDB_OBJ) .c.o: $(CC) -c $(STD_CFLAGS) $< @@ -542,10 +542,10 @@ PACKAGE_SRC = @sim_pk_src@ PACKAGE_OBJ = @sim_pk_obj@ -psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBINTL_DEP) +psim$(EXEEXT): $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBINTL_DEP) $(CC) $(CFLAGS) $(LDFLAGS) -o psim$(EXEEXT) main.o $(TARGETLIB) $(BFD_LIB) $(ZLIB) $(LIBINTL) $(LIBIBERTY_LIB) $(LIBS) -run: psim +run$(EXEEXT): psim$(EXEEXT) rm -f run$(EXEEXT) ln psim$(EXEEXT) run$(EXEEXT) |