home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2233.zip / wxOS2-2_3_3.zip / wxWindows-2.3.3 / contrib / samples / gizmos / multicell / makefile.unx < prev    next >
Makefile  |  2001-11-30  |  425b  |  25 lines

  1. # Purpose: makefile for multicell example (Unix)
  2. # Created 2000-07-28
  3.  
  4. CXX = $(shell wx-config --cxx)
  5.  
  6. PROGRAM = mtest
  7.  
  8. OBJECTS = $(PROGRAM).o ../src/multicell.o
  9. EXTRAINC=-I../include
  10.  
  11. # implementation
  12.  
  13. .SUFFIXES:    .o .cpp
  14.  
  15. .cpp.o :
  16.     $(CXX) -c `wx-config --cxxflags` -o $@ $<
  17.  
  18. all:    $(PROGRAM)
  19.  
  20. $(PROGRAM):    $(OBJECTS)
  21.     $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
  22.  
  23. clean:
  24.     rm -f *.o $(PROGRAM)
  25.