#
-# 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