0
|
1 # ============================================================================
|
|
2 # gzstream, C++ iostream classes wrapping the zlib compression library.
|
|
3 # Copyright (C) 2001 Deepak Bandyopadhyay, Lutz Kettner
|
|
4 #
|
|
5 # This library is free software; you can redistribute it and/or
|
|
6 # modify it under the terms of the GNU Lesser General Public
|
|
7 # License as published by the Free Software Foundation; either
|
|
8 # version 2.1 of the License, or (at your option) any later version.
|
|
9 #
|
|
10 # This library is distributed in the hope that it will be useful,
|
|
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
13 # Lesser General Public License for more details.
|
|
14 #
|
|
15 # You should have received a copy of the GNU Lesser General Public
|
|
16 # License along with this library; if not, write to the Free Software
|
|
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
18 # ============================================================================
|
|
19 #
|
|
20 # File : Makefile
|
|
21 # Revision : $Revision: 1.3 $
|
|
22 # Revision_date : $Date: 2001/10/04 15:09:28 $
|
|
23 # Author(s) : Deepak Bandyopadhyay, Lutz Kettner
|
|
24 #
|
|
25 # ============================================================================
|
|
26
|
|
27 # ----------------------------------------------------------------------------
|
|
28 # adapt these settings to your need:
|
|
29 # add '-DGZSTREAM_NAMESPACE=name' to CPPFLAGS to place the classes
|
|
30 # in its own namespace. Note, this macro needs to be set while creating
|
|
31 # the library as well while compiling applications based on it.
|
|
32 # As an alternative, gzstream.C and gzstream.h can be edited.
|
|
33 # ----------------------------------------------------------------------------
|
|
34
|
|
35 INCLUDES = -I.
|
|
36 OBJ_DIR = ../../../obj/
|
|
37 BIN_DIR = ../../../bin/
|
|
38 UTILITIES_DIR = ../../utils/
|
|
39
|
|
40 ${OBJ_DIR}/gzstream.o : gzstream.C gzstream.h
|
|
41 ${CXX} ${CXXFLAGS} -c -o ${OBJ_DIR}/gzstream.o gzstream.C $(INCLUDES)
|
|
42
|
|
43 clean:
|
|
44 @echo "Cleaning up."
|
|
45 @rm -f $(OBJ_DIR)/* $(BIN_DIR)/*
|
|
46
|
|
47 .PHONY: clean
|
|
48
|
|
49
|