"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/extras/tcl/makefile" (12 May 2020, 1422 Bytes) of package /windows/www/highlight-3.57-x64.zip:


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.

    1 # Simple Makefile for tclansifilter
    2 # This file will compile the tclansifilter shared object.
    3 
    4 CC=g++
    5 
    6 # default lua lib
    7 LUA_LIBS=$(shell pkg-config --libs lua)
    8 
    9 CFLAGS= -c -Wall -O2 -std=c++11 -fPIC -I ../../src/include
   10 
   11 LDFLAGS= -shared -fPIC
   12 
   13 SOURCES=stylecolour.cpp stringtools.cpp \
   14 xhtmlgenerator.cpp latexgenerator.cpp texgenerator.cpp rtfgenerator.cpp \
   15 htmlgenerator.cpp ansigenerator.cpp svggenerator.cpp codegenerator.cpp \
   16 xterm256generator.cpp pangogenerator.cpp bbcodegenerator.cpp odtgenerator.cpp\
   17 syntaxreader.cpp elementstyle.cpp themereader.cpp datadir.cpp preformatter.cpp platform_fs.cpp\
   18 astyle/ASStreamIterator.cpp astyle/ASResource.cpp astyle/ASFormatter.cpp\
   19 astyle/ASBeautifier.cpp astyle/ASEnhancer.cpp \
   20 Diluculum/InternalUtils.cpp  Diluculum/LuaExceptions.cpp  Diluculum/LuaFunction.cpp\
   21 Diluculum/LuaState.cpp Diluculum/LuaUserData.cpp  Diluculum/LuaUtils.cpp  Diluculum/LuaValue.cpp\
   22 Diluculum/LuaVariable.cpp  Diluculum/LuaWrappers.cpp
   23 
   24 OBJECTS=$(SOURCES:.cpp=.o) tclhighlight.o
   25 BINARY=tclhighlight.so
   26 
   27 all: $(OBJECTS) $(BINARY)
   28 
   29 $(BINARY): $(OBJECTS)
   30 	$(CC) $(LDFLAGS) $(OBJECTS) -o $@ ${LUA_LIBS}
   31 
   32 %.o: ../../src/core/%.cpp
   33 	$(CC) $(CFLAGS) $< -o $@
   34 
   35 astyle/%.o: ../../src/core/astyle/%.cpp
   36 	@mkdir -p $(@D)
   37 	$(CC) $(CFLAGS) $< -o $@
   38 
   39 Diluculum/%.o: ../../src/core/Diluculum/%.cpp
   40 	@mkdir -p $(@D)
   41 	$(CC) $(CFLAGS) $< -o $@
   42 
   43 clean:
   44 	@rm -f *.o
   45 	@rm -f $(BINARY)
   46 	@rm -rf astyle Diluculum