X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/025e88c50bc838a02e352cdeb53918ebbec20aee..c3d434725bd76bc0306b9751e722ed70bd776876:/samples/bombs/makefile.g95 diff --git a/samples/bombs/makefile.g95 b/samples/bombs/makefile.g95 index 55743f58b4..43119df900 100644 --- a/samples/bombs/makefile.g95 +++ b/samples/bombs/makefile.g95 @@ -1,44 +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 bombs 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)/bombs.$(OBJSUFF) $(OBJDIR)/bombs1.$(OBJSUFF) $(OBJDIR)/game.$(OBJSUFF)\ - $(OBJDIR)/bombs_resources.$(OBJSUFF) - -all: $(OBJDIR) bombs$(GUISUFFIX)$(EXESUFF) - -wx: - -$(OBJDIR): - mkdir $(OBJDIR) - -bombs$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB) - $(CC) $(LDFLAGS) -o bombs$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS) - -$(OBJDIR)/bombs.$(OBJSUFF): bombs.$(SRCSUFF) - $(CC) -c $(CPPFLAGS) -o $@ bombs.$(SRCSUFF) - -$(OBJDIR)/bombs1.$(OBJSUFF): bombs1.$(SRCSUFF) - $(CC) -c $(CPPFLAGS) -o $@ bombs1.$(SRCSUFF) - -$(OBJDIR)/game.$(OBJSUFF): game.$(SRCSUFF) - $(CC) -c $(CPPFLAGS) -o $@ game.$(SRCSUFF) +TARGET=bombs +OBJECTS = $(TARGET).o bombs1.o game.o -$(OBJDIR)/bombs_resources.o: bombs.rc - $(RESCOMP) -i bombs.rc -o $(OBJDIR)/bombs_resources.o $(RESFLAGS) +include $(WXDIR)/src/makeprog.g95 -clean: - rm -f $(OBJECTS) bombs$(GUISUFFIX).exe core *.rsc *.res