--- buffer-1.19/Makefile +++ buffer-1.19/Makefile @@ -10,7 +10,8 @@ # Ampex drives, such as the DST 310. CC=gcc -CFLAGS=-Wall -O2 -fomit-frame-pointer -pipe +CFLAGS?=-Wall -O2 -fomit-frame-pointer -pipe +LDFLAGS?= # Where to install buffer and its manual pages INSTBIN=/usr/bin @@ -28,7 +29,7 @@ sem.o: sem.c buffer: buffer.o sem.o - $(CC) -o buffer $(CFLAGS) buffer.o sem.o + $(CC) -o buffer $(CFLAGS) buffer.o sem.o $(LDFLAGS) clean: $(RM) -f *.o core buffer .merrs