Last change
on this file since 619 was
619,
checked in by frichard, 13 years ago
|
|
-
Property svn:executable set to
*
|
File size:
615 bytes
|
Line | |
---|
1 | # Makefile for the socket programming example |
---|
2 | # |
---|
3 | |
---|
4 | CC = g++ |
---|
5 | #debug |
---|
6 | CFLAGS = -g |
---|
7 | CXXFLAGS = -g |
---|
8 | |
---|
9 | BAOcontrol_objects = main.o baocontrol.o ClientSocket.o Socket.o filetools.o exception.o |
---|
10 | |
---|
11 | |
---|
12 | all : BAOcontrol |
---|
13 | |
---|
14 | |
---|
15 | BAOcontrol: $(BAOcontrol_objects) |
---|
16 | g++ $(CXXFLAGS) -c -o ../BAOControl/astro.o ../drivers/telescope/astro.cpp |
---|
17 | g++ $(CXXFLAGS) -o BAOcontrol $(BAOcontrol_objects) astro.o -lpthread -lX11 |
---|
18 | |
---|
19 | Socket: Socket.cpp |
---|
20 | ClientSocket: ClientSocket.cpp |
---|
21 | baocontrol: baocontrol.cpp |
---|
22 | filetools: filetools.cpp |
---|
23 | exception: exception.c |
---|
24 | main: main.cpp |
---|
25 | |
---|
26 | clean: |
---|
27 | rm -f *.o *.cpp~ *.c~ *.h~ BAOcontrol |
---|
28 | |
---|
29 | install: |
---|
30 | cp BAOcontrol /usr/bin |
---|
Note: See
TracBrowser
for help on using the repository browser.