1 # Make environment for making samples on Unix
3 # Clears all default suffixes
4 .SUFFIXES: .o .cpp .c .cxx
7 $(CCC) -c $(CFLAGS) -o $@ $<
10 $(CC) -c $(CPPFLAGS) -o $@ $<
13 $(CC) -c $(CPPFLAGS) -o $@ $<
15 VPATH = :$(top_srcdir)/$(program_dir)
17 # Set defaults from configure
18 include $(top_builddir)/src/make.env
20 all: $(PROGRAM) install_dirs install_data
22 $(PROGRAM): $(OBJECTS) $(top_builddir)/lib/@WX_TARGET_LIBRARY@
23 $(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(LDLIBS)
26 @list='$(DATADIRS)'; for p in $$list; do \
27 mkdir -p $(top_builddir)/$(program_dir)/$$p; \
31 @list='$(DATAFILES)'; for p in $$list; do \
32 if test ! -e $(top_builddir)/$(program_dir)/Makefile.in; then \
33 cp -u $(top_srcdir)/$(program_dir)/$$p $(top_builddir)/$(program_dir)/$$p; \
38 rm -f $(OBJECTS) $(PROGRAM) core