From 4218a6dc8b71192ab23dfebb334a9f123375cf3b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 9 Jun 2021 18:04:57 -0400 Subject: sim: erc32/ppc: fix handling of $EXEEXT --- sim/ppc/ChangeLog | 4 ++++ sim/ppc/Makefile.in | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'sim/ppc') 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 + * Makefile.in: Add $(EXEEXT) to run and psim. + +2021-06-12 Mike Frysinger + * 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) -- cgit v1.1