Changeset 5 for trunk/FirmwareFX2/fx2


Ignore:
Timestamp:
Aug 27, 2009, 2:37:55 PM (15 years ago)
Author:
demin
Message:

adapt to latest usb_jtag sources and altera drivers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FirmwareFX2/fx2/Makefile

    r4 r5  
    1919CFLAGS+=-mmcs51 --no-xinit-opt -I.
    2020CPPFLAGS+=
     21OBJS=delay.rel fx2utils.rel i2c.rel isr.rel timer.rel usb_common.rel
     22AR=sdcclib
    2123
    22 %.rel : %.c
    23         $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
     24(%.rel) : %.c
     25        $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $*.rel
     26        $(AR) -a $@ $*.rel
     27        rm $*.rel
    2428
    25 libfx2.lib: delay.rel fx2utils.rel i2c.rel isr.rel timer.rel usb_common.rel
    26         rm -f $@
    27         touch $@
    28         for obj in $^ ; do basename $$obj .rel >> $@ ; done
     29libfx2.lib: libfx2.lib($(OBJS))
    2930
    3031clean:
Note: See TracChangeset for help on using the changeset viewer.