]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/minifram/makefile.g95
corrected (?) wxStringList::Delete()
[wxWidgets.git] / samples / minifram / makefile.g95
... / ...
CommitLineData
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#
10# Makefile for Buttonbar example (UNIX).
11# Change the WXDIR directory, and CPPFLAGS and LDFLAGS, for your system.
12
13WXDIR = ../..
14
15# All common UNIX compiler flags and options are now in
16# this central makefile.
17include $(WXDIR)/src/makeg95.env
18
19TESTOBJECTS = $(OBJDIR)/test.$(OBJSUFF) $(OBJDIR)/test_resources.$(OBJSUFF)
20TESTPROGRAM = test$(GUISUFFIX)
21
22all: $(OBJDIR) $(TESTPROGRAM)
23
24demo: $(TESTPROGRAM)
25
26$(OBJDIR):
27 mkdir $(OBJDIR)
28
29$(OBJDIR)/test.$(OBJSUFF): test.h test.$(SRCSUFF)
30 $(CC) -c $(CPPFLAGS) -o $@ test.$(SRCSUFF)
31
32$(TESTPROGRAM): $(TESTOBJECTS) $(WXLIB)
33 $(CC) $(LDFLAGS) -o test$(GUISUFFIX)$(EXESUFF) $(TESTOBJECTS) $(LDLIBS)
34
35$(OBJDIR)/test_resources.o: test.rc
36 $(RESCOMP) -i test.rc -o $(OBJDIR)/test_resources.o $(RESFLAGS)
37
38clean:
39 rm -f $(OBJECTS) test$(GUISUFFIX).exe $(TESTOBJECTS) core *.res *.rsc
40