"Fossies" - the Fresh Open Source Software Archive

Member "ansifilter-2.18/src/tcl/makefile" (30 Jan 2021, 632 Bytes) of package /linux/privat/ansifilter-2.18.tar.bz2:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "makefile": 2.16_vs_2.17.

    1 # Simple Makefile for tclansifilter
    2 # This file will compile the tclansifilter shared object.
    3 
    4 CC=g++
    5 
    6 CFLAGS= -c -Wall -O2 -fPIC
    7 
    8 LDFLAGS += -shared -fPIC
    9 
   10 SOURCES=stringtools.cpp platform_fs.cpp\
   11 codegenerator.cpp htmlgenerator.cpp pangogenerator.cpp texgenerator.cpp latexgenerator.cpp rtfgenerator.cpp\
   12 plaintextgenerator.cpp bbcodegenerator.cpp elementstyle.cpp stylecolour.cpp preformatter.cpp
   13 
   14 OBJECTS=$(SOURCES:.cpp=.o) tclansifilter.o
   15 BINARY=tclansifilter.so
   16 
   17 all: $(OBJECTS) $(BINARY)
   18 
   19 $(BINARY): $(OBJECTS)
   20 	$(CC) $(LDFLAGS) $(OBJECTS) -o $@
   21 
   22 %.o: ../%.cpp
   23 	$(CC) $(CFLAGS) $< -o $@
   24 
   25 clean:
   26 	@rm -f *.o
   27 	@rm -f $(BINARY)