From 93303f19e1d7e7cf54d39b7e241f3fb0555d20ff Mon Sep 17 00:00:00 2001 From: zenon Date: Mon, 28 May 2018 18:29:25 +0200 Subject: [PATCH] Added rules for documentation --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ff9a903..c39d318 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ CC = gcc CFLAGS = -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=200809L -g -c -.PHONY: all clean +.PHONY: all clean docs docs_clean all: supervisor generator @@ -21,5 +21,11 @@ generator: generator.o %.o: %.c common.h $(CC) $(CFLAGS) $^ +docs: + doxygen Doxyfile + clean: rm -f supervisor.o supervisor generator.o generator common.h.gch + +docs_clean: + rm -rf html