~ubuntu-dev/wxwidgets2.6/upstream-debian

« back to all changes in this revision

Viewing changes to samples/listctrl/makefile.unx

  • Committer: Daniel T Chen
  • Date: 2006-06-26 10:15:11 UTC
  • Revision ID: crimsun@ubuntu.com-20060626101511-a4436cec4c6d9b35
ImportĀ DebianĀ 2.6.3.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# File:         Makefile for samples
 
3
# Author:       Robert Roebling
 
4
# Created:      1999
 
5
# Updated:      
 
6
# Copyright:    (c) 1998 Robert Roebling
 
7
#
 
8
# This makefile requires a Unix version of wxWindows
 
9
# to be installed on your system. This is most often
 
10
# done typing "make install" when using the complete
 
11
# sources of wxWindows or by installing the two
 
12
# RPM packages wxGTK.XXX.rpm and wxGTK-devel.XXX.rpm
 
13
# under Linux.
 
14
#
 
15
 
 
16
CXX = $(shell wx-config --cxx)
 
17
 
 
18
PROGRAM = listtest
 
19
 
 
20
OBJECTS = $(PROGRAM).o
 
21
 
 
22
# implementation
 
23
 
 
24
.SUFFIXES:      .o .cpp
 
25
 
 
26
.cpp.o :
 
27
        $(CXX) -c `wx-config --cxxflags` -o $@ $<
 
28
 
 
29
all:    $(PROGRAM)
 
30
 
 
31
$(PROGRAM):     $(OBJECTS)
 
32
        $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
 
33
 
 
34
clean: 
 
35
        rm -f *.o $(PROGRAM)