Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9 f9daq 1
#****************************************************************************
2
# Copyright (C) 2001-2002  ARW Elektronik Germany
3
#
4
# This program 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 2 of the License, or
7
# (at your option) any later version.
8
#
9
# This program 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 this program; if not, write to the Free Software
16
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
#
18
# Maintainer(s): Klaus Hitschler (klaus.hitschler@gmx.de)
19
#****************************************************************************
20
 
21
#****************************************************************************
22
#
23
# Makefile - makefile for ARW Elektronik PCIVME interfaces pvmon program
24
#
25
# $Log: Makefile,v $
26
# Revision 1.3  2002/11/14 19:57:56  klaus
27
# improvement, still bugs active
28
#
29
# Revision 1.2  2002/10/20 11:49:33  klaus
30
# first parts working
31
#
32
# Revision 1.1.1.1  2002/10/18 22:14:29  klaus
33
#
34
#
35
#
36
#****************************************************************************
37
 
38
SRC     = .
39
INC     = -I. -I/usr/include
40
LDLIBS  = -L/lib -L/usr/lib -L/usr/local/lib
41
 
42
DBG     = -g
43
CFLAGS  = $(DBG) $(INC) $(LDLIBS)
44
 
45
TARGET1 = pvmon
46
FILES1  = $(SRC)/$(TARGET1).c $(SRC)/mbuffer.c $(SRC)/pcilibLx.c
47
 
48
all:    $(TARGET1)
49
 
50
$(TARGET1): $(FILES1)
51
	$(CC) $(FILES1) $(CFLAGS) -o $(TARGET1) -lpcivme -lslang
52
 
53
clean:
54
	rm -f $(SRC)/*~ $(SRC)/*.o $(TARGET1)
55
 
56
install:
57
	cp $(TARGET1) /usr/local/bin
58