diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -12,7 +12,7 @@ ALL_FLAGS=$(CFLAGS) -DBP_NAME="\"$(NAME)\"" $(EXTRA) $(CWARN) $(G) $(O) CFILES=pattern.c definitions.c utils.c match.c files.c print.c json.c OBJFILES=$(CFILES:.c=.o) -all: $(NAME) tags +all: $(NAME) bp.1 %.o: %.c %.h types.h $(CC) -c $(ALL_FLAGS) -o $@ $< @@ -20,6 +20,9 @@ all: $(NAME) tags $(NAME): $(OBJFILES) bp.c $(CC) $(ALL_FLAGS) -o $@ $(OBJFILES) bp.c +bp.1: bp.1.md + pandoc -s $< -t man -o $@ + tags: $(CFILES) bp.c ctags *.c *.h |
