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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [fx2/] [src/] [lib/] [Makefile] - Blame information for rev 24

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 17 wfjm
# $Id: Makefile 394 2011-07-17 17:03:19Z mueller $
2
#-----------------------------------------------------------------------------
3
# Makefile for FX2 library code
4
#-----------------------------------------------------------------------------
5
# Copyright (C) 2007 Kolja Waschk, ixo.de
6
#-----------------------------------------------------------------------------
7
# This code is part of usbjtag. usbjtag is free software; you can redistribute
8
# it and/or modify it under the terms of the GNU General Public License as
9
# published by the Free Software Foundation; either version 2 of the License,
10
# or (at your option) any later version. usbjtag is distributed in the hope
11
# that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
12
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.  You should have received a
14
# copy of the GNU General Public License along with this program in the file
15
# COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
16
# St, Fifth Floor, Boston, MA  02110-1301  USA
17
#-----------------------------------------------------------------------------
18
 
19
CC=sdcc
20
CFLAGS+=-mmcs51 --no-xinit-opt -I.
21
CPPFLAGS+=
22
OBJS=delay.rel fx2utils.rel i2c.rel isr.rel timer.rel usb_common.rel
23
AR=sdcclib
24
 
25
(%.rel) : %.c
26
        $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $*.rel
27
        $(AR) -a $@ $*.rel
28
        rm $*.rel
29
 
30
libfx2.lib: libfx2.lib($(OBJS))
31
 
32
clean:
33
        rm -f *.lst *.asm *.lib *.sym *.rel *.lib
34
 
35
 
36
 
37
 

powered by: WebSVN 2.1.0

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