~nrtb-core/nrtb/alpha

« back to all changes in this revision

Viewing changes to common/serializer/Makefile

  • Committer: fpstovall at gmail
  • Date: 2011-09-04 23:15:58 UTC
  • mfrom: (4.1.45 dev)
  • Revision ID: fpstovall@gmail.com-20110904231558-gb5b1yy3lwoyzxjz
Merged in changes from the cpp_common development branch. The C++ common libs should now be of good enough quality to use for alpha phase development.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#***********************************************
 
2
#This file is part of the NRTB project (https://launchpad.net/nrtb).
 
3
#
 
4
#    NRTB is free software: you can redistribute it and/or modify
 
5
#    it under the terms of the GNU General Public License as published by
 
6
#    the Free Software Foundation, either version 3 of the License, or
 
7
#    (at your option) any later version.
 
8
#
 
9
#    NRTB is distributed in the hope that it will be useful,
 
10
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
#    GNU General Public License for more details.
 
13
#
 
14
#    You should have received a copy of the GNU General Public License
 
15
#    along with NRTB.  If not, see <http://www.gnu.org/licenses/>.
 
16
#
 
17
#***********************************************
 
18
 
 
19
lib:    serializer_test
 
20
        @./serializer_test
 
21
        @cp -v serializer.h ../include
 
22
        @cp -v serializer.o ../obj
 
23
        @echo build complete
 
24
 
 
25
serializer.o:   serializer.h serializer.cpp Makefile
 
26
        @rm -f serializer.o
 
27
        g++ -c serializer.cpp -I ../include
 
28
 
 
29
serializer_test:        serializer.o serializer_test.cpp
 
30
        @rm -f serializer_test
 
31
        g++ -c serializer_test.cpp -I../include
 
32
        g++ -o serializer_test serializer_test.o serializer.o ../obj/base_thread.o -lpthread ../obj/common.o
 
33
 
 
34
clean:
 
35
        @rm -rvf *.o serializer_test ../include/serializer.h ../obj/serializer.o
 
36
        @echo all objects and executables have been erased.