X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27529614c292a298e67dd8db1f169c94a4df204c..0dfef5a8124ac0f1bb2aed6ef5ddfa833e8e2c6e:/samples/sashtest/makefile.g95?ds=inline diff --git a/samples/sashtest/makefile.g95 b/samples/sashtest/makefile.g95 index 7d5feb51e8..868594ea98 100644 --- a/samples/sashtest/makefile.g95 +++ b/samples/sashtest/makefile.g95 @@ -1,37 +1,16 @@ # -# File: makefile.unx -# Author: Julian Smart -# Created: 1993 -# Updated: -# Copyright: (c) 1993, AIAI, University of Edinburgh +# File: makefile.g95 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: (c) Julian Smart, 1999 # -# "%W% %G%" -# -# Makefile for sashtest example (UNIX). +# Makefile for wxWindows sample (Cygwin/Mingw32). WXDIR = ../.. -# All common UNIX compiler flags and options are now in -# this central makefile. -include $(WXDIR)/src/makeg95.env - -OBJECTS = $(OBJDIR)/sashtest.$(OBJSUFF) $(OBJDIR)/sashtest_resources.$(OBJSUFF) - -all: $(OBJDIR) sashtest$(GUISUFFIX)$(EXESUFF) - -wx: - -$(OBJDIR): - mkdir $(OBJDIR) - -sashtest$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB) - $(CC) $(LDFLAGS) -o sashtest$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS) - -$(OBJDIR)/sashtest.$(OBJSUFF): sashtest.$(SRCSUFF) - $(CC) -c $(CPPFLAGS) -o $@ sashtest.$(SRCSUFF) +TARGET=sashtest +OBJECTS = $(TARGET).o -$(OBJDIR)/sashtest_resources.o: sashtest.rc - $(RESCOMP) -i sashtest.rc -o $(OBJDIR)/sashtest_resources.o $(RESFLAGS) +include $(WXDIR)/src/makeprog.g95 -clean: - rm -f $(OBJECTS) sashtest$(GUISUFFIX).exe core *.rsc *.res