]> git.saurik.com Git - wxWidgets.git/blob - samples/minifram/makefile.twn
_really_ fixed translation messages
[wxWidgets.git] / samples / minifram / makefile.twn
1 # Purpose: makefile for minifram example (TWIN)
2 # Created: 2000-03-15
3
4 WXDIR = ../..
5
6 # All common UNIX compiler flags and options are now in
7 # this central makefile.
8 include $(WXDIR)/src/maketwin.env
9
10 OBJECTS = $(OBJDIR)/minifram.$(OBJSUFF) $(OBJDIR)/minifram.$(OBJSUFF)
11
12 all: $(OBJDIR) minifram$(GUISUFFIX)$(EXESUFF)
13
14 wx:
15
16 $(OBJDIR):
17 mkdir $(OBJDIR)
18
19 minifram$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
20 $(CC) $(LDFLAGS) -o minifram$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
21
22 $(OBJDIR)/minifram.$(OBJSUFF): minifram.$(SRCSUFF)
23 $(CC) -c $(CPPFLAGS) -o $@ minifram.$(SRCSUFF)
24
25 minifram.c: minifram.rc
26 $(RESCOMP) $(RCINPUTSWITCH) minifram.rc $(RCOUTPUTSWITCH) minifram.c $(RESFLAGS)
27
28 $(OBJDIR)/minifram.$(OBJSUFF): minifram.c
29 $(CC) -c $(CPPFLAGS) -o $@ minifram.c
30
31 #$(OBJDIR)/minifram.o: minifram.rc
32 # $(RESCOMP) $(RCINPUTSWITCH) minifram.rc $(RCOUTPUTSWITCH) $(OBJDIR)/minifram.o $(RESFLAGS)
33
34 clean:
35 rm -f $(OBJECTS) minifram$(GUISUFFIX).exe core *.rsc *.res