1999-08-10 16:08:24 -04:00
|
|
|
# Make environment for making samples on Unix
|
|
|
|
|
|
|
|
# Replace this with your own path if necessary
|
|
|
|
WXDIR = $(WXWIN)
|
|
|
|
|
1999-08-11 13:40:09 -04:00
|
|
|
# Clears all default suffixes
|
|
|
|
.SUFFIXES: .o .cpp .c .cxx
|
|
|
|
|
|
|
|
.c.o :
|
|
|
|
$(CCC) -c $(CFLAGS) -o $@ $<
|
|
|
|
|
|
|
|
.cpp.o :
|
|
|
|
$(CC) -c $(CPPFLAGS) -o $@ $<
|
|
|
|
|
|
|
|
.cxx.o :
|
|
|
|
$(CC) -c $(CPPFLAGS) -o $@ $<
|
|
|
|
|
1999-08-10 16:08:24 -04:00
|
|
|
# this is for using the samples in ../samples/xxxxx
|
|
|
|
pretop_srcdir = @top_srcdir@
|
|
|
|
top_srcdir = ../$(pretop_srcdir)
|
|
|
|
top_builddir = ../..
|
|
|
|
include ../../src/make.env
|
|
|
|
|
|
|
|
all: $(PROGRAM)
|
|
|
|
|
1999-08-11 13:40:09 -04:00
|
|
|
$(PROGRAM): $(OBJECTS) ../../lib/@WX_TARGET_LIBRARY@
|
1999-08-10 16:08:24 -04:00
|
|
|
$(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(LDLIBS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJECTS) $(PROGRAM) core
|