CFLAGS = -I/home/tom/pd/distro/pd/src LDFLAGS = -lm -lpthread `sane-config --libs` current: pd_linux pd_linux: linefeed.pd_linux .SUFFIXES: .pd_linux CFLAGS += -DPD -O2 -funroll-loops -fomit-frame-pointer \ -Wall -W -Wstrict-prototypes -Werror \ -Wno-unused -Wno-parentheses -Wno-switch -Wshadow .c.pd_linux: gcc $(CFLAGS) -o $*.o -c $*.c gcc -export_dynamic -shared -o $*.pd_linux $*.o $(LDFLAGS) strip --strip-unneeded $*.pd_linux rm $*.o clean: rm -f *.pd_linux rm -f *~