X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d7dafc91ad68448a481b78df798a7bc85a92a60..9a98a85452729f479bad8538738ee899a0b1aa34:/samples/oleauto/makefile.g95?ds=inline

diff --git a/samples/oleauto/makefile.g95 b/samples/oleauto/makefile.g95
index 9df465495c..8472fc3546 100644
--- a/samples/oleauto/makefile.g95
+++ b/samples/oleauto/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 oleauto 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)/oleauto.$(OBJSUFF) $(OBJDIR)/oleauto_resources.$(OBJSUFF)
-
-all:    $(OBJDIR) oleauto$(GUISUFFIX)$(EXESUFF)
-
-wx:
-
-$(OBJDIR):
-	mkdir $(OBJDIR)
-
-oleauto$(GUISUFFIX)$(EXESUFF):	$(OBJECTS) $(WXLIB)
-	$(CC) $(LDFLAGS) -o oleauto$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
-
-$(OBJDIR)/oleauto.$(OBJSUFF):	oleauto.$(SRCSUFF)
-	$(CC) -c $(CPPFLAGS) -o $@ oleauto.$(SRCSUFF)
+TARGET=oleauto
+OBJECTS = $(TARGET).o
 
-$(OBJDIR)/oleauto_resources.o:  oleauto.rc
-	$(RESCOMP) -i oleauto.rc -o $(OBJDIR)/oleauto_resources.o $(RESFLAGS)
+include $(WXDIR)/src/makeprog.g95
 
-clean:
-	rm -f $(OBJECTS) oleauto$(GUISUFFIX).exe core *.rsc *.res