1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
.POSIX: include config.mk all: pgm-interlace pgm-interlace: pgm-interlace.o $(CC) -o $@ $< $(LDFLAGS) test: all ./test/test.sh .PHONY: all clean clean-object test clean: clean-object rm -f pgm-interlace clean-object: rm -f *.o