]> git.saurik.com Git - wxWidgets.git/blob - samples/drawing/makefile.twn
SetValue is not adding a line if values does not exist
[wxWidgets.git] / samples / drawing / makefile.twn
1 #
2 # File: makefile.unx
3 # Author: Julian Smart
4 # Created: 1993
5 # Updated:
6 # Copyright:
7 #
8 # "%W% %G%"
9 #
10 # Makefile for drawing 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/maketwin.env
17
18 OBJECTS = $(OBJDIR)/drawing.$(OBJSUFF) $(OBJDIR)/drawing_resources.$(OBJSUFF)
19
20 all: $(OBJDIR) drawing$(GUISUFFIX)$(EXESUFF)
21
22 wx:
23
24 $(OBJDIR):
25 mkdir $(OBJDIR)
26
27 drawing$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
28 $(CC) $(LDFLAGS) -o drawing$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
29
30 $(OBJDIR)/drawing.$(OBJSUFF): drawing.$(SRCSUFF)
31 $(CC) -c $(CPPFLAGS) -o $@ drawing.$(SRCSUFF)
32
33 drawing_resources.c: drawing.rc
34 $(RESCOMP) $(RCINPUTSWITCH) drawing.rc $(RCOUTPUTSWITCH) drawing_resources.c $(RESFLAGS)
35
36 $(OBJDIR)/drawing_resources.$(OBJSUFF): drawing_resources.c
37 $(CC) -c $(CPPFLAGS) -o $@ drawing_resources.c
38
39 #$(OBJDIR)/drawing_resources.o: drawing.rc
40 # $(RESCOMP) $(RCINPUTSWITCH) drawing.rc $(RCOUTPUTSWITCH) $(OBJDIR)/drawing_resources.o $(RESFLAGS)
41
42 clean:
43 rm -f $(OBJECTS) drawing$(GUISUFFIX).exe core *.rsc *.res