Cleaned up makefiles
This commit is contained in:
@@ -9,7 +9,9 @@ SOURCES=$(wildcard src/*.c)
|
|||||||
all:
|
all:
|
||||||
mkdir $(BUILDDIR) 2> /dev/null || true
|
mkdir $(BUILDDIR) 2> /dev/null || true
|
||||||
cc $(CFLAGS) $(SOURCES) -o $(BUILDDIR)$(TARGET)
|
cc $(CFLAGS) $(SOURCES) -o $(BUILDDIR)$(TARGET)
|
||||||
@echo Running tests
|
@echo
|
||||||
|
@echo Running tests:
|
||||||
|
@echo
|
||||||
./test.sh
|
./test.sh
|
||||||
|
|
||||||
#Uses picky extensions and makes everything(Extensions may break compiling)
|
#Uses picky extensions and makes everything(Extensions may break compiling)
|
||||||
@@ -22,12 +24,12 @@ clean:
|
|||||||
|
|
||||||
#Installs into specified(or default) directory
|
#Installs into specified(or default) directory
|
||||||
install:
|
install:
|
||||||
install -d $(PREFIX)/NBFI
|
install -d $(PREFIX)/nbfi
|
||||||
install $(BUILDDIR)$(TARGET) $(PREFIX)/NBFI
|
install $(BUILDDIR)$(TARGET) $(PREFIX)/nbfi
|
||||||
|
|
||||||
#Uninstalls from specified(or default)directory
|
#Uninstalls from specified(or default)directory
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -rf $(PREFIX)/NBFI
|
rm -rf $(PREFIX)/nbfi
|
||||||
|
|
||||||
#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_)'
|
||||||
|
@@ -20,12 +20,12 @@ clean:
|
|||||||
|
|
||||||
#Installs into specified(or default) directory
|
#Installs into specified(or default) directory
|
||||||
install:
|
install:
|
||||||
install -d $(PREFIX)/VVM
|
install -d $(PREFIX)/vvm
|
||||||
install $(BUILDDIR)$(TARGET) $(PREFIX)/VVM
|
install $(BUILDDIR)$(TARGET) $(PREFIX)/vvm
|
||||||
|
|
||||||
#Uninstalls from specified(or default)directory
|
#Uninstalls from specified(or default)directory
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -rf $(PREFIX)/VVM
|
rm -rf $(PREFIX)/vvm
|
||||||
|
|
||||||
#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