Updated vvm makefile install endpoints
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized -pedantic
|
override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized -pedantic
|
||||||
DEBUG+=-DDEBUG_ON
|
DEBUG+=-DDEBUG_ON
|
||||||
PREFIX=/usr/bin
|
PREFIX=/usr/bin/
|
||||||
BUILDDIR=bin/
|
BUILDDIR=bin/
|
||||||
|
|
||||||
TARGET=vvm
|
TARGET=vvm
|
||||||
@@ -26,12 +26,12 @@ clean:
|
|||||||
|
|
||||||
#Installs into specified(or default) directory
|
#Installs into specified(or default) directory
|
||||||
install:
|
install:
|
||||||
install -d $(PREFIX)/$(TARGET)
|
install -d $(PREFIX)$(TARGET)
|
||||||
install $(BUILDDIR)$(TARGET) $(PREFIX)/$(TARGET)
|
install $(BUILDDIR)$(TARGET) $(PREFIX)$(TARGET)
|
||||||
|
|
||||||
#Uninstalls from specified(or default)directory
|
#Uninstalls from specified(or default)directory
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -rf $(PREFIX)/$(TARGET)
|
rm -rf $(PREFIX)$(TARGET)
|
||||||
|
|
||||||
#Checks for bad functions
|
#Checks for bad functions
|
||||||
BADFUNCS='[^_.>a-zA-Z0-9](str(n?cpy|n?cat|xfrm|n?dup|str|pbrk|tok|_)|stpn?cpy|a?sn?printf|byte_)'
|
BADFUNCS='[^_.>a-zA-Z0-9](str(n?cpy|n?cat|xfrm|n?dup|str|pbrk|tok|_)|stpn?cpy|a?sn?printf|byte_)'
|
||||||
|
Reference in New Issue
Block a user