From 308e942ffdb68bd0310696db9ff49ab10ce6eb99 Mon Sep 17 00:00:00 2001 From: Veit Heller Date: Sun, 5 Oct 2014 15:11:57 +0200 Subject: [PATCH] Cleaned up makefiles --- nbfi/Makefile | 10 ++++++---- vvm/Makefile | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/nbfi/Makefile b/nbfi/Makefile index a9cb8ce..6c8bb34 100644 --- a/nbfi/Makefile +++ b/nbfi/Makefile @@ -9,7 +9,9 @@ SOURCES=$(wildcard src/*.c) all: mkdir $(BUILDDIR) 2> /dev/null || true cc $(CFLAGS) $(SOURCES) -o $(BUILDDIR)$(TARGET) - @echo Running tests + @echo + @echo Running tests: + @echo ./test.sh #Uses picky extensions and makes everything(Extensions may break compiling) @@ -22,12 +24,12 @@ clean: #Installs into specified(or default) directory install: - install -d $(PREFIX)/NBFI - install $(BUILDDIR)$(TARGET) $(PREFIX)/NBFI + install -d $(PREFIX)/nbfi + install $(BUILDDIR)$(TARGET) $(PREFIX)/nbfi #Uninstalls from specified(or default)directory uninstall: - rm -rf $(PREFIX)/NBFI + rm -rf $(PREFIX)/nbfi #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_)' diff --git a/vvm/Makefile b/vvm/Makefile index 84b1126..fcc351d 100644 --- a/vvm/Makefile +++ b/vvm/Makefile @@ -20,12 +20,12 @@ clean: #Installs into specified(or default) directory install: - install -d $(PREFIX)/VVM - install $(BUILDDIR)$(TARGET) $(PREFIX)/VVM + install -d $(PREFIX)/vvm + install $(BUILDDIR)$(TARGET) $(PREFIX)/vvm #Uninstalls from specified(or default)directory uninstall: - rm -rf $(PREFIX)/VVM + rm -rf $(PREFIX)/vvm #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_)'