]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/glcanvas/samples/cube/makefile.g95
Improved keypress handling
[wxWidgets.git] / utils / glcanvas / samples / cube / makefile.g95
index 88d34c180f5348f186ef16211c0df7dfb160c0c7..7d4119e5db3af90b07b67dc8434f3865efbdc153 100644 (file)
@@ -1,37 +1,18 @@
 #
-# 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 cube example (UNIX).
-
-WXDIR = ../..
-
-# All common UNIX compiler flags and options are now in
-# this central makefile.
-include $(WXDIR)/src/makeg95.env
-
-OBJECTS = $(OBJDIR)/cube.$(OBJSUFF)
-
-all:    $(OBJDIR) cube$(GUISUFFIX)$(EXESUFF)
-
-wx:
-
-$(OBJDIR):
-       mkdir $(OBJDIR)
+# Makefile for wxWindows sample (Cygwin/Mingw32).
 
-cube$(GUISUFFIX)$(EXESUFF):    $(OBJDIR)/cube.$(OBJSUFF) cube.res $(WXLIB)
-       $(CC) $(LDFLAGS) -o cube$(GUISUFFIX)$(EXESUFF) $(OBJDIR)/cube.$(OBJSUFF) $(LDLIBS)
-       $(RSRC) cube.$(RESSUFF) cube.exe
+WXDIR = ../../../..
 
-$(OBJDIR)/cube.$(OBJSUFF):     cube.$(SRCSUFF)
-       $(CC) -c $(CPPFLAGS) -o $@ cube.$(SRCSUFF)
+TARGET=cube
+EXTRACPPFLAGS=-I../../win
+EXTRALIBS=-lglcanvas -lopengl32 -lglu32
+OBJECTS = $(TARGET).o
 
-cube.res:  cube.rc
+include $(WXDIR)/src/makeprog.g95
 
-clean:
-       rm -f $(OBJECTS) cube$(GUISUFFIX).exe core *.rsc *.res