|
Revision 57, 479 bytes
(checked in by mirko, 3 years ago)
|
|
Updated clutter experiments to work with clutter-1.0.
|
| Line | |
|---|
| 1 | CXXFLAGS=-O3 -g -Wall -Weffc++ |
|---|
| 2 | LIBS=`pkg-config --libs clutter-1.0 poppler-glib` |
|---|
| 3 | INCS=`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 | |
|---|
| 10 | all: pdfcube |
|---|
| 11 | |
|---|
| 12 | main.o: main.cc page.hh document.hh pdfcube.hh |
|---|
| 13 | |
|---|
| 14 | pdfcube: main.o |
|---|
| 15 | $(CXX) $(CXXFLAGS) -o $@ main.o $(LIBS) |
|---|
| 16 | |
|---|
| 17 | clean: |
|---|
| 18 | rm -fr *.o pdfcube |
|---|
| 19 | |
|---|
| 20 | .PHONY: check-syntax |
|---|
| 21 | check-syntax: |
|---|
| 22 | $(CXX) -Wall -Wextra -Weffc++ -pedantic -fsyntax-only $(INCS) $(CHK_SOURCES) |
|---|