2000-03-14 14:17:41 -05:00
|
|
|
# Purpose: makefile for minifram example (Unix)
|
|
|
|
# Created: 2000-03-15
|
1999-11-21 14:28:15 -05:00
|
|
|
|
2001-11-28 13:10:15 -05:00
|
|
|
CXX = $(shell wx-config --cxx)
|
1999-11-21 14:28:15 -05:00
|
|
|
|
2000-03-14 14:17:41 -05:00
|
|
|
PROGRAM = minifram
|
1999-11-21 14:28:15 -05:00
|
|
|
|
|
|
|
OBJECTS = $(PROGRAM).o
|
|
|
|
|
|
|
|
# implementation
|
|
|
|
|
|
|
|
.SUFFIXES: .o .cpp
|
|
|
|
|
|
|
|
.cpp.o :
|
2001-11-28 13:10:15 -05:00
|
|
|
$(CXX) -c `wx-config --cxxflags` -o $@ $<
|
1999-11-21 14:28:15 -05:00
|
|
|
|
|
|
|
all: $(PROGRAM)
|
|
|
|
|
|
|
|
$(PROGRAM): $(OBJECTS)
|
2001-11-28 13:10:15 -05:00
|
|
|
$(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
|
1999-11-21 14:28:15 -05:00
|
|
|
|
2000-03-14 14:17:41 -05:00
|
|
|
clean:
|
1999-11-21 14:28:15 -05:00
|
|
|
rm -f *.o $(PROGRAM)
|