commit e89d56a85faf221d44b065198485aee1dab98650 from: Sven M. Hallberg date: Wed Nov 22 23:38:01 2023 UTC add /usr/local to search paths commit - 2fa1ee118e7f181bdcf5fbdc43670ff169e2e902 commit + e89d56a85faf221d44b065198485aee1dab98650 blob - 161ab35f2ac3e6d0e1c087a59e7d68176fd99071 blob + a730d1085468979cb61ce2a909c32d5f01921e8f --- Makefile +++ Makefile @@ -2,6 +2,10 @@ TGTS = morse morseplay morseteach OBJS = $(TGTS:=.o) cw.o teach.o LIBS = -lsndio -lm +# make sure we find libsndio and its headers if installed in /usr/local +CFLAGS += -I/usr/local/include +LDFLAGS += -L/usr/local/lib + .PHONY: all clean all: $(TGTS) clean: