To compile this under Linux:

gcc -o platy_gnu buffer.c buffer.h platy_bt.c -Wall -ansi -pedantic

To use:
./platy_gnu ass1.pls [f|a|m]

f: fixed increment mode
a: additive increment mode
m: multiplicative mode

NOTE: Change buffer.h to use malloc.h instead of mm_maloc.h if running on anything that isn't macOS