]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/printing/makefile.g95
fixed bug in mouse handling
[wxWidgets.git] / samples / printing / makefile.g95
index 4746b7aabe584dfbaf00e7e071df37466f51f4a4..0af39c2cfa7ae6ec1e0bf9aca747defa55335a5b 100644 (file)
@@ -1,37 +1,16 @@
 #
-# File:                makefile.g95
-# 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 printing example (UNIX). PRINTING NOT SUPPORTED
-# UNDER UNIX YET: THIS IS A PLACEHOLDER.
+# 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)/printing.$(OBJSUFF) $(OBJDIR)/printing_resources.$(OBJSUFF)
-
-all:   $(OBJDIR) printing$(GUISUFFIX)
-
-$(OBJDIR):
-       mkdir $(OBJDIR)
-
-printing.exe: $(OBJECTS) $(WXLIB)
-       $(CC) $(LDFLAGS) -o printing$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
-
-$(OBJDIR)/printing.$(OBJSUFF):        printing.$(SRCSUFF) printing.h
-       $(CC) -c $(CPPFLAGS) -o $@ printing.$(SRCSUFF)
-
-$(OBJDIR)/printing_resources.o:  printing.rc
-       $(RESCOMP) -i printing.rc -o $(OBJDIR)/printing_resources.o $(RESFLAGS)
+TARGET=printing
+OBJECTS = $(TARGET).o
 
-clean:
-       rm -f $(OBJECTS) printing$(GUISUFFIX).exe core *.res *.rsc
+include $(WXDIR)/src/makeprog.g95