+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.
# `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.
+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.
TARGETLIB = libsim.a
-all: run $(TARGETLIB) $(GDB_OBJ)
+all: run$(EXEEXT) $(TARGETLIB) $(GDB_OBJ)
.c.o:
$(CC) -c $(STD_CFLAGS) $<
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)