OpenCores
URL https://opencores.org/ocsvn/opb_usblite/opb_usblite/trunk

Subversion Repositories opb_usblite

[/] [opb_usblite/] [trunk/] [drivers/] [opb_usblite_v1_00_a/] [src/] [Makefile] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 rehnmaak
#--
2
#--    opb_usblite - opb_uartlite replacement
3
#--
4
#--    opb_usblite is using components from Rudolf Usselmann see
5
#--    http://www.opencores.org/cores/usb_phy/
6
#--    and Joris van Rantwijk see http://www.xs4all.nl/~rjoris/fpga/usb.html
7
#--
8
#--    Copyright (C) 2010 Ake Rehnman
9
#--
10
#--    This program is free software: you can redistribute it and/or modify
11
#--    it under the terms of the GNU General Public License as published by
12
#--    the Free Software Foundation, either version 3 of the License, or
13
#--    (at your option) any later version.
14
#--
15
#--    This program is distributed in the hope that it will be useful,
16
#--    but WITHOUT ANY WARRANTY; without even the implied warranty of
17
#--    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
#--    GNU General Public License for more details.
19
#--
20
#--    You should have received a copy of the GNU General Public License
21
#--    along with this program.  If not, see .
22
#--
23
 
24
 
25
COMPILER=
26
ARCHIVER=
27
CP=cp
28
COMPILER_FLAGS=
29
EXTRA_COMPILER_FLAGS=
30
LIB=libxil.a
31
 
32
RELEASEDIR=../../../lib
33
INCLUDEDIR=../../../include
34
INCLUDES=-I./. -I${INCLUDEDIR}
35
 
36
INCLUDEFILES=usblite_l.h
37
LIBSOURCES=*.c
38
OUTS = *.o
39
 
40
 
41
libs:
42
        echo "Compiling usblite"
43
        $(COMPILER) $(COMPILER_FLAGS) $(EXTRA_COMPILER_FLAGS) $(INCLUDES) $(LIBSOURCES)
44
        $(ARCHIVER) -r ${RELEASEDIR}/${LIB} ${OUTS}
45
        make clean
46
 
47
include:
48
         ${CP} ${INCLUDEFILES} ${INCLUDEDIR}
49
 
50
clean:
51
        rm -rf ${OUTS}
52
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.