X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/457814b5aa2ee5c83abc65a6aee2a3ebcb1af34f..08a15c0d899daad0ff8cc2ed4c06ff78b8ec3cc3:/samples/resource/makefile.g95?ds=sidebyside diff --git a/samples/resource/makefile.g95 b/samples/resource/makefile.g95 index d9ad8d610a..a8ef75d70b 100644 --- a/samples/resource/makefile.g95 +++ b/samples/resource/makefile.g95 @@ -1,36 +1,16 @@ # -# 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