]> git.saurik.com Git - wxWidgets.git/blame - samples/dynamic/makefile.g95
cw pro adaption (illegal default argument error was given)
[wxWidgets.git] / samples / dynamic / makefile.g95
CommitLineData
fe71f65c
RR
1#
2# File: makefile.unx
3# Author: Julian Smart
4# Created: 1993
5# Updated:
6# Copyright: (c) 1993, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
b6a158b0 10# Makefile for dynamic example (UNIX).
fe71f65c
RR
11
12WXDIR = ../..
13
14# All common UNIX compiler flags and options are now in
15# this central makefile.
16include $(WXDIR)/src/makeg95.env
17
b6a158b0 18OBJECTS = $(OBJDIR)/dynamic.$(OBJSUFF) $(OBJDIR)/dynamic_resources.$(OBJSUFF)
fe71f65c 19
b6a158b0 20all: $(OBJDIR) dynamic$(GUISUFFIX)$(EXESUFF)
fe71f65c
RR
21
22wx:
23
24$(OBJDIR):
25 mkdir $(OBJDIR)
26
b6a158b0
JS
27dynamic$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
28 $(CC) $(LDFLAGS) -o dynamic$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
fe71f65c 29
b6a158b0
JS
30$(OBJDIR)/dynamic.$(OBJSUFF): dynamic.$(SRCSUFF)
31 $(CC) -c $(CPPFLAGS) -o $@ dynamic.$(SRCSUFF)
fe71f65c 32
b6a158b0
JS
33$(OBJDIR)/dynamic_resources.o: dynamic.rc
34 $(RESCOMP) -i dynamic.rc -o $(OBJDIR)/dynamic_resources.o $(RESFLAGS)
fe71f65c
RR
35
36clean:
b6a158b0 37 rm -f $(OBJECTS) dynamic$(GUISUFFIX).exe core *.rsc *.res