root/branches/clutter-experiments/Makefile

Revision 57, 479 bytes (checked in by mirko, 3 years ago)

Updated clutter experiments to work with clutter-1.0.

Line 
1CXXFLAGS=-O3 -g -Wall -Weffc++
2LIBS=`pkg-config --libs clutter-1.0 poppler-glib`
3INCS=`pkg-config --cflags clutter-1.0 poppler-glib`
4
5.c.o:
6        $(CC) $(CFLAGS) $(INCS) -c $*.c
7.cc.o:
8        $(CXX) $(CXXFLAGS) $(INCS) -c $*.cc
9
10all: pdfcube
11
12main.o: main.cc page.hh document.hh pdfcube.hh
13
14pdfcube: main.o
15        $(CXX) $(CXXFLAGS) -o $@ main.o $(LIBS)
16
17clean:
18        rm -fr *.o pdfcube
19
20.PHONY: check-syntax
21check-syntax:
22        $(CXX) -Wall -Wextra -Weffc++ -pedantic -fsyntax-only $(INCS) $(CHK_SOURCES)
Note: See TracBrowser for help on using the browser.