summaryrefslogtreecommitdiffstats
path: root/libs/OptParse/Makefile
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-04-13 20:44:30 -0600
committerGitHub <noreply@github.com>2020-04-13 20:44:30 -0600
commit3ba78ad317d21d354d26dd6a95b81833ae236bfe (patch)
treef6b5979d80512f0109bebd6aeb0d7af693353a86 /libs/OptParse/Makefile
parenta985bfd6cdbe977e02c72de85f958e74ddf372e7 (diff)
downloadbcm5719-ortega-3ba78ad317d21d354d26dd6a95b81833ae236bfe.tar.gz
bcm5719-ortega-3ba78ad317d21d354d26dd6a95b81833ae236bfe.zip
coverity: Fix issues found with coverity (#79)
Diffstat (limited to 'libs/OptParse/Makefile')
-rw-r--r--libs/OptParse/Makefile30
1 files changed, 0 insertions, 30 deletions
diff --git a/libs/OptParse/Makefile b/libs/OptParse/Makefile
deleted file mode 100644
index 19cab9d..0000000
--- a/libs/OptParse/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-ifeq ($(WARN),1)
-ifeq ($(CXX),g++)
-WARN_FLAGS = -O3 -g -Wall -Wextra -Werror # -Weffc++
-else ifeq ($(CXX),clang++)
-WARN_FLAGS = -O3 -g -Wall -Wextra -Werror
-else ifeq ($(CXX),icpc)
-WARN_FLAGS = -O3 -ipo -g -Wall -wd981 -wd383 -wd2259 -Werror # -Weffc++
-endif
-endif
-
-ifeq ($(CPP11),1)
-STD_FLAGS = -std=c++0x
-endif
-
-BIN = testprog
-OBJECTS = OptionParser.o testprog.o
-
-$(BIN): $(OBJECTS)
- $(CXX) -o $@ $(OBJECTS) $(WARN_FLAGS) $(STD_FLAGS) $(LINKFLAGS)
-
-%.o: %.cpp OptionParser.h
- $(CXX) $(WARN_FLAGS) $(STD_FLAGS) $(CXXFLAGS) -c $< -o $@
-
-.PHONY: clean test
-
-test: testprog
- ./test.sh
-
-clean:
- rm -f *.o $(BIN)
OpenPOWER on IntegriCloud