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

« back to all changes in this revision

Viewing changes to examples/BeOS/image_perspective/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2005-11-29 02:02:41 UTC
  • Revision ID: james.westby@ubuntu.com-20051129020241-pmlxls0x6j2qv3nm
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include ../../../Makefile.in.$(shell uname)
 
2
 
 
3
PROGNAME=image_perspective
 
4
OUTNAME=$(PROGNAME)
 
5
PLATFORM=BeOS
 
6
 
 
7
CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \
 
8
-L../../../src \
 
9
$(PIXFMT)
 
10
 
 
11
LIBS = $(AGGLIBS) -lroot -lbe -ltranslation
 
12
 
 
13
SRC=\
 
14
../../$(PROGNAME).cpp \
 
15
../../interactive_polygon.cpp \
 
16
../../../src/platform/$(PLATFORM)/agg_platform_support.cpp
 
17
 
 
18
OBJ= $(SRC:.cpp=.o)
 
19
 
 
20
$(PROGNAME):    $(OBJ) 
 
21
        $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS)
 
22
        mimeset -f $(OUTNAME)
 
23
 
 
24
clean:
 
25
        rm -f $(PROGNAME)
 
26
        rm -f ../../$(PROGNAME).o
 
27
        rm -f ../../interactive_polygon.o
 
28
        rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o
 
29
        
 
30
 
 
31
%.o:    %.cpp
 
32
        @echo \< $*.cpp \>
 
33
        $(CXX) -c $(CXXFLAGS) $*.cpp -o $@