~ubuntu-branches/ubuntu/lucid/agg/lucid-proposed

« back to all changes in this revision

Viewing changes to examples/X11/trans_curve1/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2006-10-22 15:16:27 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 edgy)
  • Revision ID: james.westby@ubuntu.com-20061022151627-wx9inil9o7z40xwc
Tags: 2.4+20060719-3
upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include ../../../Makefile.in.$(shell uname)
2
 
 
3
 
PROGNAME=trans_curve1_ft
4
 
OUTNAME=$(PROGNAME)
5
 
PLATFORM=X11
6
 
 
7
 
CXXFLAGS= $(AGGCXXFLAGS) \
8
 
-I../../../include \
9
 
-I../../../font_freetype \
10
 
-I/usr/local/include/freetype2 \
11
 
-L../../../src \
12
 
$(PIXFMT)
13
 
 
14
 
LIBS = $(AGGLIBS) -lm -lX11 -lfreetype
15
 
 
16
 
SRC=\
17
 
../../$(PROGNAME).cpp \
18
 
../../interactive_polygon.cpp \
19
 
../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \
20
 
../../../font_freetype/agg_font_freetype.cpp 
21
 
 
22
 
OBJ= $(SRC:.cpp=.o)
23
 
 
24
 
$(PROGNAME):    $(OBJ) 
25
 
        $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS)
26
 
 
27
 
clean:
28
 
        rm -f $(PROGNAME)
29
 
        rm -f ../../$(PROGNAME).o
30
 
        rm -f ../../interactive_polygon.o
31
 
        rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o
32
 
        rm -rf SunWS_cache
33
 
        rm -rf ../../SunWS_cache
34
 
        rm -rf ../../../src/platform/$(PLATFORM)/SunWS_cache
35
 
        
36
 
 
37
 
%.o:    %.cpp
38
 
        @echo \< $*.cpp \>
39
 
        $(CXX) -c $(CXXFLAGS) $*.cpp -o $@