diff options
-rw-r--r-- | sim/erc32/ChangeLog | 4 | ||||
-rw-r--r-- | sim/erc32/Makefile.in | 6 | ||||
-rw-r--r-- | sim/ppc/ChangeLog | 4 | ||||
-rw-r--r-- | sim/ppc/Makefile.in | 6 |
4 files changed, 14 insertions, 6 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. 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) |