Commit 16ca2840 authored by André Simon's avatar André Simon

Applied makefile patch

parent 9d611374
Pipeline #173608776 passed with stage
in 45 seconds
= Ansifilter ChangeLog
=== ansifilter 2.17
02.08.2020
- applied makefile patch to address Portage warnings (https://gitlab.com/saalen/ansifilter/-/issues/24)
=== ansifilter 2.16.1
30.06.2020
......
......@@ -4,16 +4,11 @@
# afl-g++ for preparing fuzzing tests
CC=g++
#CC=clang++
CXX ?= g++
#CC ?= clang++
# Added -std=c++11 because of auto_ptr to unique_ptr transition
CXXFLAGS= -Wall -O2 -DNDEBUG -std=c++11 -fPIC
#CXXFLAGS= -O0 -ggdb -std=c++11 -fPIC
#CXXFLAGS="-DNDEBUG -g2 -O3 -march=i686"
#cov-build --dir cov-int make -j 2
LDFLAGS=
CXXFLAGS := -Wall -O2 -DNDEBUG -std=c++11 -fPIC $(CXXFLAGS)
SOURCES=arg_parser.o stringtools.o cmdlineoptions.o main.o platform_fs.o\
codegenerator.o htmlgenerator.o pangogenerator.o texgenerator.o latexgenerator.o rtfgenerator.o svggenerator.o\
......@@ -25,10 +20,10 @@ EXECUTABLE=ansifilter
all: $(SOURCES) $(EXECUTABLE)
$(EXECUTABLE): $(OBJECTS)
$(CC) $(LDFLAGS) $(EXTRA_LDFLAGS) $(OBJECTS) -o $@
$(CXX) $(LDFLAGS) $(EXTRA_LDFLAGS) $(OBJECTS) -o $@
.cpp.o:
$(CC) -c $(CXXFLAGS) $(EXTRA_CXXFLAGS) $< -o $@
$(CXX) -c $(CXXFLAGS) $(EXTRA_CXXFLAGS) $< -o $@
clean:
@rm -f *.o
......
......@@ -5,7 +5,7 @@ CC=g++
CFLAGS= -c -Wall -O2 -fPIC
LDFLAGS= -shared -fPIC
LDFLAGS += -shared -fPIC
SOURCES=stringtools.cpp platform_fs.cpp\
codegenerator.cpp htmlgenerator.cpp pangogenerator.cpp texgenerator.cpp latexgenerator.cpp rtfgenerator.cpp\
......
......@@ -25,7 +25,7 @@ along with ANSIFilter. If not, see <http://www.gnu.org/licenses/>.
#ifndef VERSION_H
#define VERSION_H
#define ANSIFILTER_VERSION "2.16.1"
#define ANSIFILTER_VERSION "2.17"
#define ANSIFILTER_URL "http://www.andre-simon.de/"
#define ANSIFILTER_EMAIL "a.simon@mailbox.org"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment