source: BAORadio/libindi/libindi/BAOControl/Makefile @ 619

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
4CC = g++
5#debug
6CFLAGS = -g
7CXXFLAGS = -g
8
9BAOcontrol_objects =  main.o baocontrol.o ClientSocket.o Socket.o filetools.o exception.o
10
11
12all : BAOcontrol
13
14
15BAOcontrol: $(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
19Socket:  Socket.cpp
20ClientSocket: ClientSocket.cpp
21baocontrol: baocontrol.cpp
22filetools: filetools.cpp
23exception: exception.c
24main: main.cpp
25
26clean:
27        rm -f *.o *.cpp~ *.c~ *.h~ BAOcontrol
28
29install:
30        cp BAOcontrol /usr/bin
Note: See TracBrowser for help on using the repository browser.