X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbf1f0e5cffb8c01696eb26e254857a61f017d70..98672b4b9cb156c624a66efd5b3c1935a1d37de9:/samples/regtest/makefile.g95 diff --git a/samples/regtest/makefile.g95 b/samples/regtest/makefile.g95 index 5dc5b47810..2d8022c869 100644 --- a/samples/regtest/makefile.g95 +++ b/samples/regtest/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 regtest 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)/regtest.$(OBJSUFF) $(OBJDIR)/regtest_resources.$(OBJSUFF) - -all: $(OBJDIR) regtest$(GUISUFFIX)$(EXESUFF) - -wx: - -$(OBJDIR): - mkdir $(OBJDIR) - -regtest$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB) - $(CC) $(LDFLAGS) -o regtest$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS) - -$(OBJDIR)/regtest.$(OBJSUFF): regtest.$(SRCSUFF) - $(CC) -c $(CPPFLAGS) -o $@ regtest.$(SRCSUFF) +TARGET=regtest +OBJECTS = $(TARGET).o -$(OBJDIR)/regtest_resources.o: regtest.rc - $(RESCOMP) -i regtest.rc -o $(OBJDIR)/regtest_resources.o $(RESFLAGS) +include $(WXDIR)/src/makeprog.g95 -clean: - rm -f $(OBJECTS) regtest$(GUISUFFIX).exe core *.rsc *.res