]>
Commit | Line | Data |
---|---|---|
2286341c VZ |
1 | # Purpose: makefile for statbar example (TWIN) |
2 | # Created: 2000-02-04 | |
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)/statbar.$(OBJSUFF) $(OBJDIR)/statbar.$(OBJSUFF) | |
11 | ||
12 | all: $(OBJDIR) statbar$(GUISUFFIX)$(EXESUFF) | |
13 | ||
14 | wx: | |
15 | ||
16 | $(OBJDIR): | |
17 | mkdir $(OBJDIR) | |
18 | ||
19 | statbar$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB) | |
20 | $(CC) $(LDFLAGS) -o statbar$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS) | |
21 | ||
22 | $(OBJDIR)/statbar.$(OBJSUFF): statbar.$(SRCSUFF) | |
23 | $(CC) -c $(CPPFLAGS) -o $@ statbar.$(SRCSUFF) | |
24 | ||
25 | statbar.c: statbar.rc | |
26 | $(RESCOMP) $(RCINPUTSWITCH) statbar.rc $(RCOUTPUTSWITCH) statbar.c $(RESFLAGS) | |
27 | ||
28 | $(OBJDIR)/statbar.$(OBJSUFF): statbar.c | |
29 | $(CC) -c $(CPPFLAGS) -o $@ statbar.c | |
30 | ||
31 | #$(OBJDIR)/statbar.o: statbar.rc | |
32 | # $(RESCOMP) $(RCINPUTSWITCH) statbar.rc $(RCOUTPUTSWITCH) $(OBJDIR)/statbar.o $(RESFLAGS) | |
33 | ||
34 | clean: | |
35 | rm -f $(OBJECTS) statbar$(GUISUFFIX).exe core *.rsc *.res |