Show
Ignore:
Timestamp:
02/01/09 22:06:39 (3 years ago)
Author:
mirko
Message:

Added a check target in the makefile to allow emacs flymake-mode.

Started the app class. It now loads the pdf and renders all pages in
low resolution while displaying a progress indicator.

There is little more to do to reach an usable stage. The bigger step
is to link the app class to the animator interface (and to implement
a couple of animators).

The pdfcube::page class now simply renders pages to GdkPixbuf?
removing the dependency from Clutter in the page class.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/clutter-experiments/Makefile

    r48 r52  
    1 LIBS=`pkg-config --libs clutter-0.8 poppler-glib` 
    2 INCS=`pkg-config --cflags clutter-0.8 poppler-glib` 
     1CXXFLAGS=-O3 -g -Wall -Weffc++ 
     2LIBS=`pkg-config --libs clutter-0.9 poppler-glib` 
     3INCS=`pkg-config --cflags clutter-0.9 poppler-glib` 
    34 
    45.c.o: 
    5         $(CC) -g -Wall $(CFLAGS) $(INCS) -c $*.c 
     6        $(CC) $(CFLAGS) $(INCS) -c $*.c 
    67.cc.o: 
    7         $(CXX) -g -Wall -Weffc++ $(CXXFLAGS) $(INCS) -c $*.cc 
     8        $(CXX) $(CXXFLAGS) $(INCS) -c $*.cc 
    89 
    910all: pdfcube 
     
    1213 
    1314pdfcube: main.o 
    14         $(CXX) -g -Wall $(CXXFLAGS) -o $@ main.o $(LIBS) 
     15        $(CXX) $(CXXFLAGS) -o $@ main.o $(LIBS) 
    1516 
    1617clean: 
    1718        rm -fr *.o pdfcube 
     19 
     20.PHONY: check-syntax 
     21check-syntax: 
     22        $(CXX) -Wall -Wextra -Weffc++ -pedantic -fsyntax-only $(INCS) $(CHK_SOURCES)