]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/regtest/makefile.g95
enhanced sample to show the state of the different styles, added reset to default...
[wxWidgets.git] / samples / regtest / makefile.g95
index 5dc5b4781095ab6349336ce7ad99eca1b470e565..2d8022c869375ac13d48f5437ffcc1ba1dc97627 100644 (file)
@@ -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