X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99025f6e18f776acacde53711fead05c049fb0be..b911bc32a17f592214fcc37bb942ad3f355e6893:/samples/grid/makefile.g95?ds=sidebyside diff --git a/samples/grid/makefile.g95 b/samples/grid/makefile.g95 index 32f8af5e2f..b81d8cc55c 100644 --- a/samples/grid/makefile.g95 +++ b/samples/grid/makefile.g95 @@ -1,37 +1,15 @@ # -# File: makefile.unx -# Author: Julian Smart -# Created: 1993 -# Updated: -# Copyright: (c) 1993, AIAI, University of Edinburgh +# File: makefile.g95 +# Author: Michael Bedward +# Created: 1999 +# Updated: # -# "%W% %G%" -# -# Makefile for grid 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)/test.$(OBJSUFF) $(OBJDIR)/test_resources.$(OBJSUFF) - -all: $(OBJDIR) test$(GUISUFFIX)$(EXESUFF) - -wx: - -$(OBJDIR): - mkdir $(OBJDIR) - -test$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB) - $(CC) $(LDFLAGS) -o test$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS) - -$(OBJDIR)/test.$(OBJSUFF): test.$(SRCSUFF) - $(CC) -c $(CPPFLAGS) -o $@ test.$(SRCSUFF) +TARGET=griddemo +OBJECTS = $(TARGET).o -$(OBJDIR)/test_resources.o: test.rc - $(RESCOMP) -i test.rc -o $(OBJDIR)/test_resources.o $(RESFLAGS) +include $(WXDIR)/src/makeprog.g95 -clean: - rm -f $(OBJECTS) test$(GUISUFFIX).exe core *.rsc *.res