15 lines
270 B
Makefile
15 lines
270 B
Makefile
|
include config.mk
|
||
|
|
||
|
all:
|
||
|
mkdir build
|
||
|
cp src/evcli.h build/evcli.h
|
||
|
$(CC) -c src/libevcli.c -o build/libevcli.o
|
||
|
$(AR) -rc build/libevcli.a build/libevcli.o
|
||
|
|
||
|
install:
|
||
|
install build/libevcli.a $(PREFIX)/lib
|
||
|
install build/evcli.h $(PREFIX)/include
|
||
|
|
||
|
clean:
|
||
|
rm -rf build
|