]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/wxsocket/makefile.g95
1. Implemented support for different icons for different states (expanded,
[wxWidgets.git] / samples / wxsocket / makefile.g95
... / ...
CommitLineData
1#
2# File: makefile.unx
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 server/client example (UNIX).
11
12WXDIR = ../..
13
14# All common UNIX compiler flags and options are now in
15# this central makefile.
16include $(WXDIR)/src/makeg95.env
17
18OBJECTS=$(OBJDIR)/server.$(OBJSUFF) $(OBJDIR)/server_resources.$(OBJSUFF)\
19 $(OBJDIR)/client.$(OBJSUFF) $(OBJDIR)/client_resources.$(OBJSUFF)
20
21all: $(OBJDIR) server$(GUISUFFIX) client$(GUISUFFIX)
22
23
24$(OBJDIR):
25 mkdir $(OBJDIR)
26
27server$(GUISUFFIX): $(OBJDIR)/server.$(OBJSUFF) $(OBJDIR)/server_resources.$(OBJSUFF) $(WXLIB)
28 $(CC) $(LDFLAGS) -o server$(GUISUFFIX)$(EXESUFF) $(OBJDIR)/server.$(OBJSUFF) $(OBJDIR)/server_resources.$(OBJSUFF) $(LDLIBS)
29
30$(OBJDIR)/server.$(OBJSUFF): server.$(SRCSUFF) server.h
31 $(CC) -c $(CPPFLAGS) -o $@ server.$(SRCSUFF)
32
33client$(GUISUFFIX): $(OBJDIR)/client.$(OBJSUFF) $(OBJDIR)/client_resources.$(OBJSUFF) $(WXLIB)
34 $(CC) $(LDFLAGS) -o client$(GUISUFFIX)$(EXESUFF) $(OBJDIR)/client.$(OBJSUFF) $(OBJDIR)/client_resources.$(OBJSUFF) $(LDLIBS)
35
36$(OBJDIR)/client.$(OBJSUFF): client.$(SRCSUFF) client.h
37 $(CC) -c $(CPPFLAGS) -o $@ client.$(SRCSUFF)
38
39$(OBJDIR)/server_resources.o: server.rc
40 $(RESCOMP) -i server.rc -o $(OBJDIR)/server_resources.o $(RESFLAGS)
41
42$(OBJDIR)/client_resources.o: client.rc
43 $(RESCOMP) -i client.rc -o $(OBJDIR)/client_resources.o $(RESFLAGS)
44
45clean:
46 rm -f $(OBJECTS) server$(GUISUFFIX).exe client$(GUISUFFIX).exe core *.rsc *.res