Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dvi/Makefile
blob: 3ba36114de9086c4eacfaed8c00d2404c64a77b0 (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
binary = dviviewer

sources =					\
	main.cc					\
						\
	painter.cc				\
	font.cc					\
	view.cc					\
	model.cc				\
						\
	dvilib/dl-dvi-file.cc			\
	dvilib/dl-dvi-fontdefinition.cc		\
	dvilib/dl-dvi-parser.cc			\
	dvilib/dl-dvi-program.cc		\
	dvilib/dl-dvi-runtime.cc		\
	dvilib/dl-loader.cc			\
	dvilib/dl-pkfont.cc			\
	dvilib/dl-vffont.cc

headers =					\
	painter.hh				\
	font.hh					\
	view.hh					\
	model.hh				\
						\
	dvilib/dl-dvi-file.hh			\
	dvilib/dl-dvi-fontdefinition.hh		\
	dvilib/dl-dvi-parser.hh			\
	dvilib/dl-dvi-runtime.hh		\
	dvilib/dl-font.hh			\
	dvilib/dl-loader.hh			\
	dvilib/dl-pkfont.hh			\
	dvilib/dl-vffont.hh

CFLAGS = -Idvilib -Wall -W -ansi -pedantic -g -O0 `pkg-config --cflags gtk+-2.0`

$(binary): $(sources) $(headers)
	c++ $(CFLAGS) $(sources) -o$(binary) -lfl `pkg-config --libs gtk+-2.0`