commit 164e782ea2f158653acce2644ad4ef4da32ed7c6 from: Sven M. Hallberg date: Wed Nov 22 23:38:00 2023 UTC support gmake GNU make does not have $> (.ALLSRC) but $^ instead. The trick is to just use both since each implementation defines one but not the other. XD commit - 40c37b5c53a2635cfb1f4cb3a29c2a5f6648a0ea commit + 164e782ea2f158653acce2644ad4ef4da32ed7c6 blob - 82140b64ce703be970966fa7cd6af02bbfb857df blob + 161ab35f2ac3e6d0e1c087a59e7d68176fd99071 --- Makefile +++ Makefile @@ -8,8 +8,8 @@ clean: rm -f $(TGTS) $(OBJS) morse: morse.o teach.o cw.o - $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $> $(LIBS) + $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $> $^ $(LIBS) morseplay: morseplay.o cw.o - $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $> $(LIBS) + $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $> $^ $(LIBS) morseteach: morseteach.o teach.o cw.o - $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $> $(LIBS) + $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $> $^ $(LIBS)