]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/resource/makefile.g95
Initial checkin of the wxFrame support added by Aleks G.
[wxWidgets.git] / samples / resource / makefile.g95
index d9ad8d610a501574891085bbd5a377e75da805b8..a8ef75d70b5ee84cba7106ad5f246ab8b4b3538c 100644 (file)
@@ -1,36 +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 resource 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)/resource.$(OBJSUFF) $(OBJDIR)/resource_resources.$(OBJSUFF)
-
-all:   $(OBJDIR) resource.exe
-
-$(OBJDIR):
-       mkdir $(OBJDIR)
-
-$(OBJDIR)/resource.$(OBJSUFF):        resource.$(SRCSUFF) resource.h
-       $(CC) -c $(CPPFLAGS) -o $@ resource.$(SRCSUFF)
-
-resource.exe: $(OBJECTS) $(WXLIB)
-       $(CC) $(LDFLAGS) -o resource$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
-
-$(OBJDIR)/resource_resources.o:  resource.rc
-       $(RESCOMP) -i resource.rc -o $(OBJDIR)/resource_resources.o $(RESFLAGS)
+TARGET=resource
+OBJECTS = $(TARGET).o
 
-clean:
-       rm -f $(OBJECTS) resource$(GUISUFFIX).exe core *.rsc *.res
+include $(WXDIR)/src/makeprog.g95