X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/447daba1ce4295f84185d6ecdaec46ae982a2299..8480b297e70a29b785421ded6db22ae024e35038:/samples/controls/makefile.g95 diff --git a/samples/controls/makefile.g95 b/samples/controls/makefile.g95 index 3d2f52233f..28a81c25cf 100644 --- a/samples/controls/makefile.g95 +++ b/samples/controls/makefile.g95 @@ -1,37 +1,16 @@ # -# 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 controls 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)/controls.$(OBJSUFF) $(OBJDIR)/controls_resources.$(OBJSUFF) - -all: $(OBJDIR) controls$(GUISUFFIX)$(EXESUFF) - -wx: - -$(OBJDIR): - mkdir $(OBJDIR) - -controls$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB) - $(CC) $(LDFLAGS) -o controls$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS) - -$(OBJDIR)/controls.$(OBJSUFF): controls.$(SRCSUFF) - $(CC) -c $(CPPFLAGS) -o $@ controls.$(SRCSUFF) +TARGET=controls +OBJECTS = $(TARGET).o -$(OBJDIR)/controls_resources.o: controls.rc - $(RESCOMP) -i controls.rc -o $(OBJDIR)/controls_resources.o $(RESFLAGS) +include $(WXDIR)/src/makeprog.g95 -clean: - rm -f $(OBJECTS) controls$(GUISUFFIX).exe core *.rsc *.res