makefiles changes and gitignore #1

Merged
cromer merged 2 commits from dev into master 2018-11-05 15:17:41 -03:00
2 changed files with 17 additions and 2 deletions

4
.gitignore vendored
View File

@ -1,6 +1,6 @@
out
objs
doc/Informe.pdf
doc/*.aux
doc/*.log
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