Changeset 5 for trunk/FirmwareFX2/fx2/Makefile
- Timestamp:
- Aug 27, 2009, 2:37:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FirmwareFX2/fx2/Makefile
r4 r5 19 19 CFLAGS+=-mmcs51 --no-xinit-opt -I. 20 20 CPPFLAGS+= 21 OBJS=delay.rel fx2utils.rel i2c.rel isr.rel timer.rel usb_common.rel 22 AR=sdcclib 21 23 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 24 28 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 29 libfx2.lib: libfx2.lib($(OBJS)) 29 30 30 31 clean:
Note:
See TracChangeset
for help on using the changeset viewer.