blob: e76930d780817ecd4d5acb7150c2b7b5bc84c19b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
ifeq ($(PREFIX),)
PREFIX := /usr/local
endif
.PHONY: all install
all: libdscp
libdscp:
$(CC) \
-o $@.so $@.c \
-D_GNU_SOURCE \
-nostartfiles -shared
install: libdscp
install -d $(DESTDIR)$(PREFIX)/lib/
install -m 644 libdscp.so $(DESTDIR)$(PREFIX)/lib/
|