makefiles changes and gitignore #1

Merged
cromer merged 2 commits from dev into master 2018-11-05 15:17:41 -03:00
Showing only changes of commit dc56073b4a - Show all commits

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