Updated nbfi makefile install endpoints
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -std=c99 -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized -pedantic
|
override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -std=c99 -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized -pedantic
|
||||||
PREFIX=/usr/bin
|
PREFIX=/usr/bin/
|
||||||
BUILDDIR=bin/
|
BUILDDIR=bin/
|
||||||
|
|
||||||
TARGET=nbfi
|
TARGET=nbfi
|
||||||
@@ -29,12 +29,12 @@ clean:
|
|||||||
|
|
||||||
#Installs into specified(or default) directory
|
#Installs into specified(or default) directory
|
||||||
install:
|
install:
|
||||||
install -d $(PREFIX)/nbfi
|
install -d $(PREFIX)$(TARGET)
|
||||||
install $(BUILDDIR)$(TARGET) $(PREFIX)/nbfi
|
install $(BUILDDIR)$(TARGET) $(PREFIX)$(TARGET)
|
||||||
|
|
||||||
#Uninstalls from specified(or default)directory
|
#Uninstalls from specified(or default)directory
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -rf $(PREFIX)/nbfi
|
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