fix in clean command in Makefile

This commit is contained in:
rluna
2019-01-04 07:37:54 +01:00
parent e5eb1bbf9d
commit aa3453baa8
2 changed files with 11 additions and 3 deletions

8
.gitignore vendored
View File

@@ -214,3 +214,11 @@ _Pvt_Extensions/
ModelManifest.xml
/build
/.cproject
/.project
/IrisDatasetTest
/LayerTest
/MLPTest
/NodeTest
/mlp.a
/mlp.so

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# Makefile for MLP
CC = g++
DEBUG = -g
DEBUG = -g3
PROJNAME = mlp
HEADERPATH = ./src
@@ -14,7 +14,7 @@ AUXLIBS =
INCLUDES = -I$(LOCALDEPSINCLUDES) -I$(AUXINCLUDES)
LIBS = -L$(AUXLIBS)
#LIBS += -L/usr/local/lib/
CFLAGS = -std=gnu++11 -std=c++11 -O3 -Wall -fmessage-length=0 -fPIC $(INCLUDES)
CFLAGS = -std=gnu++11 -std=c++11 -Wall -O3 -fmessage-length=0 -fPIC $(INCLUDES)
CFLAGS += $(DEBUG)
LFLAGS = $(LIBS)
#For verbosity
@@ -59,7 +59,7 @@ NodeTest: $(SOURCEPATH)/NodeTest.o $(SOURCEPATH)/MLP.o
$(CC) $^ $(CFLAGS) $(LFLAGS) -o $@
clean:
@echo Clean
rm -f *~ *.o *~
rm -f *~ $(SOURCEPATH)/*.o *~
@echo Success
cleanall: