|
|
@ -2,6 +2,7 @@ CC=gcc
|
|
|
|
CFLAGS=
|
|
|
|
CFLAGS=
|
|
|
|
LIB_FILE = libeasysock.so
|
|
|
|
LIB_FILE = libeasysock.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
.PHONY: all
|
|
|
|
all: $(LIB_FILE)
|
|
|
|
all: $(LIB_FILE)
|
|
|
|
|
|
|
|
|
|
|
@ -40,6 +41,8 @@ install: $(LIB_FILE)
|
|
|
|
install -d $(DESTDIR)$(PREFIX)/include
|
|
|
|
install -d $(DESTDIR)$(PREFIX)/include
|
|
|
|
install -m 644 easysock.h $(DESTDIR)$(PREFIX)/include
|
|
|
|
install -m 644 easysock.h $(DESTDIR)$(PREFIX)/include
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install -m 644 docs/man3/*.gz /usr/share/man/man3/
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
clean:
|
|
|
|
rm *.o
|
|
|
|
rm *.o
|
|
|
@ -50,3 +53,4 @@ clean:
|
|
|
|
uninstall:
|
|
|
|
uninstall:
|
|
|
|
rm $(DESTDIR)$(PREFIX)/lib/$(LIB_FILE)
|
|
|
|
rm $(DESTDIR)$(PREFIX)/lib/$(LIB_FILE)
|
|
|
|
rm $(DESTDIR)$(PREFIX)/include/easysock.h
|
|
|
|
rm $(DESTDIR)$(PREFIX)/include/easysock.h
|
|
|
|
|
|
|
|
|
|
|
|