]> git.saurik.com Git - wxWidgets.git/blob - samples/nativdlg/makefile.g95
Added serial code for wxList and wxHashTable to source tree
[wxWidgets.git] / samples / nativdlg / makefile.g95
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
12 WXDIR = ../..
13
14 # All common UNIX compiler flags and options are now in
15 # this central makefile.
16 include $(WXDIR)/src/makeg95.env
17
18 OBJECTS=$(OBJDIR)/nativdlg.$(OBJSUFF) $(OBJDIR)/nativdlg_resources.$(OBJSUFF)
19
20 all: $(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
28 nativdlg$(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
34 clean:
35 rm -f $(OBJECTS) nativdlg$(GUISUFFIX).exe core *.rsc *.res
36