feader-c-lib/Makefile

20 lines
282 B
Makefile
Raw Normal View History

2018-02-08 02:12:40 +00:00
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