Static build opt (#48)
* static build option * make install static condition
This commit is contained in:
parent
4cd556cb13
commit
ef66640919
2
Makefile
2
Makefile
|
|
@ -29,7 +29,9 @@ clean:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -m 755 pcloudcc $(DESTDIR)/bin/pcloudcc
|
install -m 755 pcloudcc $(DESTDIR)/bin/pcloudcc
|
||||||
|
ifeq ($(STATIC), 0)
|
||||||
install -m 755 libpcloudcc_lib.so $(DESTDIR)/lib/libpcloudcc_lib.so
|
install -m 755 libpcloudcc_lib.so $(DESTDIR)/lib/libpcloudcc_lib.so
|
||||||
|
endif
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)/bin/pcloudcc
|
rm -f $(DESTDIR)/bin/pcloudcc
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue