add base Makefile

pull/1/head
Chris Cromer 4 years ago
parent 28f90eea95
commit dc56073b4a
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A
  1. 15
      Makefile

@ -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
Loading…
Cancel
Save