libevcli/Makefile
2024-01-24 08:00:40 -05:00

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