1 # Make environment for making samples on Unix
3 # Replace this with your own path if necessary
6 # Clears all default suffixes
7 .SUFFIXES: .o .cpp .c .cxx
10 $(CCC) -c $(CFLAGS) -o $@ $<
13 $(CC) -c $(CPPFLAGS) -o $@ $<
16 $(CC) -c $(CPPFLAGS) -o $@ $<
18 # this is for using the samples in ../samples/xxxxx
19 pretop_srcdir = @top_srcdir@
20 top_srcdir = ../$(pretop_srcdir)
22 include ../../src/make.env
26 $(PROGRAM): $(OBJECTS) ../../lib/@WX_TARGET_LIBRARY@
27 $(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(LDLIBS)
30 rm -f $(OBJECTS) $(PROGRAM) core