From: Helmut Grohne Date: Tue, 9 Dec 2025 12:32:15 -0800 Subject: Fix cross-building #1122264 --- Instant/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Instant/Makefile b/Instant/Makefile index 69613ad..3b24310 100644 --- a/Instant/Makefile +++ b/Instant/Makefile @@ -84,16 +84,17 @@ HFILES = general.h translate.h OBJ = main.o util.o info.o translate.o traninit.o tranvar.o tables.o \ browse.o masterVersion.o PROGS = instant +LIBTPTREGEXP = tptregexp/libtptregexp.a -all: dotptregexp $(PROGS) +all: $(LIBTPTREGEXP) $(PROGS) %.o : %.c $(CC) -c $(CFLAGS) $(OPT) $(REGEX_INC) $(DEFINES) $< -o $@ -dotptregexp: - cd tptregexp; $(MAKE) all +$(LIBTPTREGEXP): + $(MAKE) -C tptregexp all -instant: $(OBJ) dotptregexp +instant: $(OBJ) $(LIBTPTREGEXP) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(REGEX) install: all