libecrypt/Makefile

10 lines
257 B
Makefile

include config.mk
all: src/libecrypt.c
$(CC) -c src/libecrypt.c -o src/libecrypt.o
ar -rc src/libecrypt.a src/libecrypt.o
install: src/libecrypt.a include/libecrypt.h
install src/libecrypt.a $(PREFIX)/lib
install include/libecrypt.h $(PREFIX)/include