1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
CC = cc CFLAGS = -Wall -Wextra -g LDFLAGS = -ltls .PHONY: all clean all: gmid TAGS README.md gmid: gmid.o ${CC} gmid.o -o gmid ${LDFLAGS} TAGS: gmid.c -etags gmid.c || true README.md: gmid.1 mandoc -Tmarkdown gmid.1 | sed -e '1d' -e '$$d' > README.md clean: rm -f gmid.o gmid