feader-c-lib/Makefile
2018-02-07 20:12:40 -06:00

19 lines
282 B
Makefile
Executable file

CFLAGS=-g -Wall
INCLUDE=-I/usr/local/include
LDFLAGS=-L/usr/local/lib
LDLIBS=-lcurl
SOURCES=src/feader.c
OUTPUT=-o out/feader
all: clean setup build
build: $(SOURCES)
gcc $(CFLAGS) $(OUTPUT) $(INCLUDE) $(LDFLAGS) $(SOURCES) $(LDLIBS)
clean:
rm -rf out
setup:
mkdir out