FreeCalypso > hg > freecalypso-sw
diff target-utils/c139explore/Makefile @ 991:5cff3579814c
target-utils: libbase factored out of libcommon
The library dependency order is now strictly unidirectional
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Wed, 30 Dec 2015 20:48:12 +0000 |
parents | cd34e0d534b9 |
children | d92e4aadeeb3 |
line wrap: on
line diff
--- a/target-utils/c139explore/Makefile Sat Dec 12 20:07:51 2015 +0000 +++ b/target-utils/c139explore/Makefile Wed Dec 30 20:48:12 2015 +0000 @@ -6,7 +6,7 @@ PROG= c139explore OBJS= crt0.o backlight.o cmdtab.o lcd.o main.o mygetchar.o uwire.o -LIBS= ../libcommon/libcommon.a ../libprintf/libprintf.a +LIBS= ../libcommon/libcommon.a ../libprintf/libprintf.a ../libbase/libbase.a LDS= ../env/compalram.lds TC_LIBS=`${CC} -print-file-name=libc.a` \ @@ -18,8 +18,7 @@ ln -s $< . ${PROG}.elf: ${OBJS} ${LIBS} ${LDS} - ${LD} -N -T ${LDS} -o $@ ${OBJS} \ - --start-group ${LIBS} --end-group \ + ${LD} -N -T ${LDS} -o $@ ${OBJS} ${LIBS} \ --start-group ${TC_LIBS} --end-group ${PROG}.bin: ${PROG}.elf