Parse args

This commit is contained in:
2026-03-29 21:45:52 -07:00
parent c3860f1950
commit 46e35a1ce4
4 changed files with 49 additions and 2 deletions

View File

@@ -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