Added rules for documentation

This commit is contained in:
zenon 2018-05-28 18:29:25 +02:00
parent 3f36a01bae
commit 93303f19e1

View File

@ -8,7 +8,7 @@
CC = gcc CC = gcc
CFLAGS = -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=200809L -g -c 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 all: supervisor generator
@ -21,5 +21,11 @@ generator: generator.o
%.o: %.c common.h %.o: %.c common.h
$(CC) $(CFLAGS) $^ $(CC) $(CFLAGS) $^
docs:
doxygen Doxyfile
clean: clean:
rm -f supervisor.o supervisor generator.o generator common.h.gch rm -f supervisor.o supervisor generator.o generator common.h.gch
docs_clean:
rm -rf html