Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 86 | f9daq | 1 | #**************************************************************************** |
| 2 | # Copyright (C) 2001-2005 ARW Elektronik Germany |
||
| 3 | # |
||
| 4 | # |
||
| 5 | # This program is free software; you can redistribute it and/or modify |
||
| 6 | # it under the terms of the GNU General Public License as published by |
||
| 7 | # the Free Software Foundation; either version 2 of the License, or |
||
| 8 | # (at your option) any later version. |
||
| 9 | # |
||
| 10 | # This program 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 |
||
| 13 | # GNU General Public License for more details. |
||
| 14 | # |
||
| 15 | # You should have received a copy of the GNU General Public License |
||
| 16 | # along with this program; if not, write to the Free Software |
||
| 17 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
||
| 18 | # |
||
| 19 | # Maintainer(s): Klaus Hitschler (klaus.hitschler@gmx.de) |
||
| 20 | #**************************************************************************** |
||
| 21 | |||
| 22 | #**************************************************************************** |
||
| 23 | # |
||
| 24 | # Makefile - makefile for ARW Elektronik CAMAC interfaces test programs |
||
| 25 | # |
||
| 26 | # $Log: Makefile,v $ |
||
| 27 | # Revision 1.8 2005/10/07 16:58:53 klaus |
||
| 28 | # now use correct library |
||
| 29 | # |
||
| 30 | # Revision 1.7 2005/03/11 13:23:58 klaus |
||
| 31 | # added _qx functions to get Q and X for every transfer. Release libcc32.so.2. |
||
| 32 | # |
||
| 33 | # Revision 1.6 2004/10/09 21:05:03 klaus |
||
| 34 | # Added C++ examples to test programs |
||
| 35 | # |
||
| 36 | # Revision 1.5 2004/08/12 20:00:09 klaus |
||
| 37 | # conversion to kernel-version 2.6, released version 6.0 |
||
| 38 | # |
||
| 39 | # Revision 1.4 2003/06/19 08:23:38 klaus |
||
| 40 | # re-compiled with RH-7.2 (kernel 2.4.10) |
||
| 41 | # |
||
| 42 | # Revision 1.3 2002/04/14 18:25:38 klaus |
||
| 43 | # added interrupt handling, driver 4.4. ...3.5.tar.gz |
||
| 44 | # |
||
| 45 | # Revision 1.2 2001/11/20 20:12:50 klaus |
||
| 46 | # included new header and CVS log |
||
| 47 | # |
||
| 48 | #**************************************************************************** |
||
| 49 | |||
| 50 | SRC = . |
||
| 51 | INC = -I. -I../lib -I/usr/include |
||
| 52 | DBG = -g |
||
| 53 | CFLAGS = $(DBG) $(INC) -Wall |
||
| 54 | SHLIB = ../lib/libcc32.so.3.0.0 |
||
| 55 | |||
| 56 | TARGET1 = pcicc32_test |
||
| 57 | FILES1 = $(SRC)/pcicc32_test.c |
||
| 58 | |||
| 59 | TARGET2 = pcicc32_test++ |
||
| 60 | FILES2 = $(SRC)/pcicc32_test++.cpp |
||
| 61 | |||
| 62 | all: $(TARGET1) $(TARGET2) |
||
| 63 | |||
| 64 | mtest: |
||
| 65 | $(CC) -g mtest_pcicc32.c $(CFLAGS) -o mtest $(SHLIB) |
||
| 66 | |||
| 67 | $(TARGET1): $(FILES1) |
||
| 68 | $(CC) -g $(FILES1) $(CFLAGS) -o $(TARGET1) $(SHLIB) |
||
| 69 | |||
| 70 | $(TARGET2): $(FILES2) |
||
| 71 | $(CC) $(FILES2) $(CFLAGS) -o $(TARGET2) $(SHLIB) -lstdc++ |
||
| 72 | |||
| 73 | clean: |
||
| 74 | rm -f $(SRC)/$(TARGET1) $(SRC)/$(TARGET2) $(SRC)/*~ $(SRC)/core |
||
| 75 | |||
| 76 | install: |
||
| 77 | cp $(TARGET1) /usr/local/bin |
||
| 78 | cp $(TARGET2) /usr/local/bin |
||
| 79 | |||
| 80 | |||
| 81 |