16 lines
383 B
Makefile
16 lines
383 B
Makefile
include config.mk
|
|
|
|
static: src/libecrypt.c
|
|
$(CC) -c src/libecrypt.c -o
|
|
ar -rc src/libecrypt.a src/libecrypt.o
|
|
|
|
shared: src/libecrypt.c
|
|
$(CC) -c -fpic src/libecrypt.c
|
|
$(CC) -shared src/libecrypt.o libecrypt.so
|
|
|
|
install-static: src/libecrypt.a
|
|
install --mode=0755 src/libecrypt.a $(PREFIX)/lib
|
|
|
|
install-shared: src/libecrypt.so
|
|
install --mode=0755 src/libecrypt.so $(PREFIX)/lib
|