feader-c-lib/Makefile

23 lines
306 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
2018-02-08 03:59:00 +00:00
all: clean setup build run
2018-02-08 02:12:40 +00:00
build: $(SOURCES)
gcc $(CFLAGS) $(OUTPUT) $(INCLUDE) $(LDFLAGS) $(SOURCES) $(LDLIBS)
clean:
rm -rf out
setup:
mkdir out
2018-02-08 03:59:00 +00:00
run:
./out/feader