]> git.saurik.com Git - wxWidgets.git/blame - samples/nativdlg/makefile.g95
Fixed Fontdialog
[wxWidgets.git] / samples / nativdlg / makefile.g95
CommitLineData
bbf1f0e5
KB
1#
2# File: makefile.g95
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 nativdlg example (UNIX).
11
12WXDIR = ../..
13
14# All common UNIX compiler flags and options are now in
15# this central makefile.
16include $(WXDIR)/src/makeg95.env
17
18OBJECTS=$(OBJDIR)/nativdlg.$(OBJSUFF) $(OBJDIR)/nativdlg_resources.$(OBJSUFF)
19
20all: $(OBJDIR) nativdlg$(GUISUFFIX)
21
22$(OBJDIR):
23 mkdir $(OBJDIR)
24
25$(OBJDIR)/nativdlg.$(OBJSUFF): nativdlg.$(SRCSUFF) nativdlg.h
26 $(CC) -c $(CPPFLAGS) -o $@ nativdlg.$(SRCSUFF)
27
28nativdlg$(GUISUFFIX): $(OBJECTS) $(WXLIB)
29 $(CC) $(LDFLAGS) -o nativdlg$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
30
31$(OBJDIR)/nativdlg_resources.o: nativdlg.rc
32 $(RESCOMP) -i nativdlg.rc -o $(OBJDIR)/nativdlg_resources.o $(RESFLAGS)
33
34clean:
35 rm -f $(OBJECTS) nativdlg$(GUISUFFIX).exe core *.rsc *.res
36