]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/minifram/makefile.twn
Reverted wxFileSystem changes to image.cpp and dib.cpp
[wxWidgets.git] / samples / minifram / makefile.twn
... / ...
CommitLineData
1# Purpose: makefile for minifram example (TWIN)
2# Created: 2000-03-15
3
4WXDIR = ../..
5
6# All common UNIX compiler flags and options are now in
7# this central makefile.
8include $(WXDIR)/src/maketwin.env
9
10OBJECTS = $(OBJDIR)/minifram.$(OBJSUFF) $(OBJDIR)/minifram.$(OBJSUFF)
11
12all: $(OBJDIR) minifram$(GUISUFFIX)$(EXESUFF)
13
14wx:
15
16$(OBJDIR):
17 mkdir $(OBJDIR)
18
19minifram$(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
25minifram.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
34clean:
35 rm -f $(OBJECTS) minifram$(GUISUFFIX).exe core *.rsc *.res