99025f6e18
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
38 lines
937 B
Plaintext
38 lines
937 B
Plaintext
#
|
|
# File: makefile.g95
|
|
# Author: Julian Smart
|
|
# Created: 1993
|
|
# Updated:
|
|
# Copyright: (c) 1993, AIAI, University of Edinburgh
|
|
#
|
|
# "%W% %G%"
|
|
#
|
|
# Makefile for printing example (UNIX). PRINTING NOT SUPPORTED
|
|
# UNDER UNIX YET: THIS IS A PLACEHOLDER.
|
|
|
|
WXDIR = ../..
|
|
|
|
# All common UNIX compiler flags and options are now in
|
|
# this central makefile.
|
|
include $(WXDIR)/src/makeg95.env
|
|
|
|
OBJECTS=$(OBJDIR)/printing.$(OBJSUFF) $(OBJDIR)/printing_resources.$(OBJSUFF)
|
|
|
|
all: $(OBJDIR) printing$(GUISUFFIX)
|
|
|
|
$(OBJDIR):
|
|
mkdir $(OBJDIR)
|
|
|
|
printing.exe: $(OBJECTS) $(WXLIB)
|
|
$(CC) $(LDFLAGS) -o printing$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
|
|
|
|
$(OBJDIR)/printing.$(OBJSUFF): printing.$(SRCSUFF) printing.h
|
|
$(CC) -c $(CPPFLAGS) -o $@ printing.$(SRCSUFF)
|
|
|
|
$(OBJDIR)/printing_resources.o: printing.rc
|
|
$(RESCOMP) -i printing.rc -o $(OBJDIR)/printing_resources.o $(RESFLAGS)
|
|
|
|
clean:
|
|
rm -f $(OBJECTS) printing$(GUISUFFIX).exe core *.res *.rsc
|
|
|