2023-03-30 14:14:12 -04:00
|
|
|
include config.mk
|
|
|
|
|
|
|
|
static: src/libecrypt.c
|
2023-03-31 08:02:20 -04:00
|
|
|
$(CC) -c src/libecrypt.c -o src/libecrypt.o
|
2023-03-30 14:14:12 -04:00
|
|
|
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
|