Parse args
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,6 +1,6 @@
|
||||
CXX ?= g++
|
||||
|
||||
VERSION := 0.0.1
|
||||
VERSION := 0.0.2
|
||||
|
||||
TARGET_NOVERSION := liboptions.so
|
||||
TARGET := $(TARGET_NOVERSION).$(VERSION)
|
||||
@@ -37,9 +37,11 @@ clean:
|
||||
install:
|
||||
cp $(TARGET) /usr/lib/$(TARGET)
|
||||
cp options.h /usr/include/options.h
|
||||
cp options_headeronly.h /usr/include/options_headeronly.h
|
||||
ln -s /usr/lib/$(TARGET) /usr/lib/$(TARGET_NOVERSION)
|
||||
|
||||
uninstall:
|
||||
unlink /usr/lib/$(TARGET_NOVERSION)
|
||||
rm /usr/lib/$(TARGET)
|
||||
rm /usr/include/options.h
|
||||
rm /usr/include/options.h
|
||||
rm /usr/include/options_headeronly.h
|
||||
Reference in New Issue
Block a user