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

« back to all changes in this revision

Viewing changes to examples/win32_api/image_filters/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
#
 
2
# This makefile can be used to build a Win32 application under Cygwin
 
3
#
 
4
 
 
5
include ../../../Makefile.in.$(shell uname)
 
6
 
 
7
PROGNAME=image_filters
 
8
OUTNAME=$(PROGNAME)
 
9
PLATFORM=win32
 
10
 
 
11
CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \
 
12
-I/usr/X11R6/include \
 
13
-L/usr/X11R6/lib \
 
14
-L../../../src \
 
15
$(PIXFMT)
 
16
 
 
17
LIBS = $(AGGLIBS) -lm -lgdi32
 
18
 
 
19
SRC=\
 
20
../../$(PROGNAME).cpp \
 
21
../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \
 
22
../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp
 
23
 
 
24
OBJ= $(SRC:.cpp=.o)
 
25
 
 
26
$(OUTNAME):     $(OBJ)
 
27
        $(CXX) $(CXXFLAGS)  $^ -o $(OUTNAME) $(LIBS)
 
28
 
 
29
clean:
 
30
        rm -f $(OUTNAME)
 
31
        rm -f ../../$(PROGNAME).o
 
32
        rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o
 
33
        rm -f gamma.txt
 
34
        rm -f gamma.bin
 
35
 
 
36
%.o:    %.cpp
 
37
        @echo \< $*.cpp \>
 
38
        $(CXX) -c $(CXXFLAGS) $*.cpp -o $@
 
39
 
 
40