File: Makefile.examples.in

package info (click to toggle)
lasi 1.1.3-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,756 kB
  • sloc: cpp: 1,360; javascript: 139; sh: 20; makefile: 13
file content (34 lines) | stat: -rw-r--r-- 997 bytes parent folder | download | duplicates (2)
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
CXX = @CMAKE_CXX_COMPILER@
EXEEXT = @EXEEXT@
RPATHCMD = @RPATHCMD@
PKG_ENV = PKG_CONFIG_PATH=@PKG_CONFIG_PATH@

all: MissingGlyphExample.eps SimpleLASiExample.eps ComplexTextLayoutExample.eps

MissingGlyphExample$(EXEEXT): MissingGlyphExample.cpp 
	$(CXX) -o $@ $< \
	$(RPATHCMD) `$(PKG_ENV) pkg-config --cflags --libs lasi`

MissingGlyphExample.eps: MissingGlyphExample$(EXEEXT)
	./$< $@

SimpleLASiExample$(EXEEXT): SimpleLASiExample.cpp 
	$(CXX) -o $@ $< \
	$(RPATHCMD) `$(PKG_ENV) pkg-config --cflags --libs lasi`

SimpleLASiExample.eps: SimpleLASiExample$(EXEEXT)
	./$< $@

ComplexTextLayoutExample$(EXEEXT): ComplexTextLayoutExample.cpp 
	$(CXX) -o $@ $< \
	$(RPATHCMD) `$(PKG_ENV) pkg-config --cflags --libs lasi`

ComplexTextLayoutExample.eps: ComplexTextLayoutExample$(EXEEXT)
	./$< $@

clean:
	rm MissingGlyphExample$(EXEEXT) MissingGlyphExample.eps \
	SimpleLASiExample$(EXEEXT) SimpleLASiExample.eps \
	ComplexTextLayoutExample$(EXEEXT) ComplexTextLayoutExample.eps

.PHONY: all clean