Merge branch 'dev' of UBB/sort into master

This commit is contained in:
Chris Cromer 2018-11-05 15:17:41 -03:00 committed by Gitea
commit 7445550a57
2 changed files with 17 additions and 2 deletions

4
.gitignore vendored
View File

@ -1,6 +1,6 @@
out
objs
doc/Informe.pdf doc/Informe.pdf
doc/*.aux doc/*.aux
doc/*.log doc/*.log
doc/*.synctex.gz doc/*.synctex.gz
*.o
sort

View File

@ -0,0 +1,15 @@
CC=gcc
CFLAGS=-Wall -Werror
CPPFLAGS+=-Isrc/include
#LDFLAGS=-lm
ODIR=obj
SRC=src/sort.c
OBJ=$(SRC:.c=.o)
sort: $(OBJ)
$(CC) -o $@ $^ $(LDFLAGS)
clean:
rm -f src/*.o sort
.PHONY: sort clean