Initial commit
This commit is contained in:
commit
5999f4f951
12
.gitignore
vendored
Normal file
12
.gitignore
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
supervisor
|
||||
generator
|
||||
*.o
|
||||
*.json
|
||||
*.sh
|
||||
.vimrc
|
||||
*.gch
|
||||
Doxyfile
|
||||
html/
|
||||
latex/
|
||||
*.tgz
|
||||
*.pdf
|
||||
25
Makefile
Normal file
25
Makefile
Normal 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
0
generator.c
Normal file
0
supervisor.c
Normal file
0
supervisor.c
Normal file
Loading…
x
Reference in New Issue
Block a user