]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/typetest/makefile.g95
Compile fix.
[wxWidgets.git] / samples / typetest / makefile.g95
index 692a5095ad483a2d69f355d9dbbf0e66fae10565..5ec0fa7169f504774dfb4a2ca07daed204daf307 100644 (file)
@@ -1,37 +1,10 @@
-#
-# File:                makefile.unx
-# Author:      Julian Smart
-# Created:     1993
-# Updated:     
-# Copyright:   (c) 1993, AIAI, University of Edinburgh
-#
-# "%W% %G%"
-#
-# Makefile for typetest example (UNIX).
+# Purpose: makefile for typetest example (Cygwin/Mingw32)
+# Created: #03.01.00
 
 WXDIR = ../..
 
-# All common UNIX compiler flags and options are now in
-# this central makefile.
-include $(WXDIR)/src/makeg95.env
+TARGET=typetest
+OBJECTS = $(TARGET).o
 
-OBJECTS = $(OBJDIR)/typetest.$(OBJSUFF) $(OBJDIR)/typetest_resources.$(OBJSUFF)
+include $(WXDIR)/src/makeprog.g95
 
-all:    $(OBJDIR) typetest$(GUISUFFIX)$(EXESUFF)
-
-wx:
-
-$(OBJDIR):
-       mkdir $(OBJDIR)
-
-typetest$(GUISUFFIX)$(EXESUFF):        $(OBJECTS) $(WXLIB)
-       $(CC) $(LDFLAGS) -o typetest$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
-
-$(OBJDIR)/typetest.$(OBJSUFF): typetest.$(SRCSUFF)
-       $(CC) -c $(CPPFLAGS) -o $@ typetest.$(SRCSUFF)
-
-$(OBJDIR)/typetest_resources.o:  typetest.rc
-       $(RESCOMP) -i typetest.rc -o $(OBJDIR)/typetest_resources.o $(RESFLAGS)
-
-clean:
-       rm -f $(OBJECTS) typetest$(GUISUFFIX).exe core *.rsc *.res