2004-10-19 23:14:13 +00:00
|
|
|
CXX = $(shell wx-config --cxx)
|
|
|
|
|
2004-10-22 04:49:50 +00:00
|
|
|
# comment out the following as needed
|
2004-10-25 21:42:47 +00:00
|
|
|
#OTHER_LIBS = -lsocket -lnsl
|
2004-10-22 04:49:50 +00:00
|
|
|
|
2004-10-25 21:42:47 +00:00
|
|
|
CFLAGS = -g -I ../lib -DNOTASKBAR
|
2004-10-19 23:14:13 +00:00
|
|
|
|
2004-10-26 17:12:58 +00:00
|
|
|
PROGRAM = boincmgr
|
2004-10-19 23:14:13 +00:00
|
|
|
|
|
|
|
all: $(PROGRAM)
|
|
|
|
|
|
|
|
OBJS = \
|
|
|
|
BOINCBaseView.o \
|
|
|
|
BOINCGUIApp.o \
|
|
|
|
BOINCListCtrl.o \
|
|
|
|
BOINCTaskCtrl.o \
|
|
|
|
DlgAbout.o \
|
|
|
|
DlgAttachProject.o \
|
|
|
|
DlgConnection.o \
|
|
|
|
DlgOptions.o \
|
|
|
|
MainDocument.o \
|
|
|
|
MainFrame.o \
|
|
|
|
stdwx.o \
|
|
|
|
ValidateAccountKey.o \
|
|
|
|
ValidateURL.o \
|
|
|
|
ViewMessages.o \
|
|
|
|
ViewProjects.o \
|
|
|
|
ViewResources.o \
|
|
|
|
ViewTransfers.o \
|
|
|
|
ViewWork.o \
|
|
|
|
../lib/gui_rpc_client.o \
|
|
|
|
../lib/parse.o \
|
|
|
|
../lib/mfile.o \
|
|
|
|
../lib/miofile.o \
|
|
|
|
../lib/filesys.o \
|
|
|
|
../lib/util.o
|
|
|
|
|
2004-10-26 17:12:58 +00:00
|
|
|
boincmgr: $(OBJS)
|
2004-10-22 04:49:50 +00:00
|
|
|
$(CXX) -o $(PROGRAM) $(OBJS) `wx-config --libs` $(OTHER_LIBS)
|
2004-10-19 23:14:13 +00:00
|
|
|
|
|
|
|
.cpp.o:
|
|
|
|
$(CXX) -c $(CFLAGS) `wx-config --cxxflags` $<
|
2004-10-28 19:10:50 +00:00
|
|
|
|
|
|
|
dependencies: *.cpp *.h
|
|
|
|
$(CXX) -M $(CFLAGS) `wx-config --cxxflags` *.cpp > dependencies
|
|
|
|
|
|
|
|
include dependencies
|