File: Makefile

package info (click to toggle)
pdftoipe 20091014-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 116 kB
  • ctags: 82
  • sloc: cpp: 676; ansic: 199; makefile: 21
file content (25 lines) | stat: -rw-r--r-- 641 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# --------------------------------------------------------------------
# Makefile for pdftoipe
# --------------------------------------------------------------------

TARGET = pdftoipe

CPPFLAGS += $(shell pkg-config --cflags poppler) 
LIBS += $(shell pkg-config --libs poppler)
CXXFLAGS += -Wno-write-strings

all: $(TARGET)

objects = parseargs.o xmloutputdev.o pdftoipe.o 

$(TARGET): $(objects)
	$(CXX) $(LDFLAGS) -o $@ $^ $(LIBS)

clean:
	@-rm -f $(objects) $(TARGET)

xmloutputdev.o: xmloutputdev.h
pdftoipe.o: xmloutputdev.h parseargs.h
parseargs.o: parseargs.h

# --------------------------------------------------------------------