1
#***********************************************
2
#This file is part of the NRTB project (https://launchpad.net/nrtb).
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.
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.
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/>.
17
#***********************************************
21
@cp -v serializer.h ../include
22
@cp -v serializer.o ../obj
25
serializer.o: serializer.h serializer.cpp Makefile
27
g++ -c serializer.cpp -I ../include
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
35
@rm -rvf *.o serializer_test ../include/serializer.h ../obj/serializer.o
36
@echo all objects and executables have been erased.