Initial commit

This commit is contained in:
zenon 2018-05-21 14:51:03 +02:00
commit 5999f4f951
4 changed files with 37 additions and 0 deletions

12
.gitignore vendored Normal file
View File

@ -0,0 +1,12 @@
supervisor
generator
*.o
*.json
*.sh
.vimrc
*.gch
Doxyfile
html/
latex/
*.tgz
*.pdf

25
Makefile Normal file
View File

@ -0,0 +1,25 @@
#--------------------------------------------------------------------#
# @date 2018-05-21 #
# #
# Feedback Arc Set: An algorithm which removes cycles in a directed #
# graph by removing the least edges possible. #
#--------------------------------------------------------------------#
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
all: supervisor generator
supervisor: supervisor.o
$(CC) $^ -o $@
generator: generator.o
$(CC) $^ -o $@
%.o: %.c
$(CC) $(CFLAGS) $^
clean:
rm -f supervisor.o supervisor generator.o generator

0
generator.c Normal file
View File

0
supervisor.c Normal file
View File