]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sashtest/makefile.g95
demo of wxYield() bug
[wxWidgets.git] / samples / sashtest / makefile.g95
index 7d5feb51e8b23ff1f5206d7670f33daffe9e0559..868594ea9828a3d524117623a2fb809ca7534bed 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 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