Changeset 11 for trunk/software/firmware/Makefile
- Timestamp:
- Jul 31, 2019, 5:43:21 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/software/firmware/Makefile
r1 r11 5 5 CFLAGS= -I${.CURDIR} -I${.CURDIR}/../lib/J1939 -I${.CURDIR}/../lib/eeprom 6 6 CFLAGS+= --fomit-frame-pointer --denable-peeps --optimize-cmp --optimize-df 7 OBJECTS= main.o serial.o 8 HEADERS= my_serial.h 7 OBJECTS= main.o serial.o serial2.o 8 HEADERS= my_serial.h my_serial2.h 9 9 10 10 all: capteur.bin … … 18 18 19 19 capteur.hex: ${OBJECTS} 20 ${CC} -V -Wl,-s${.CURDIR}/pic18f27j 53.lkr --no-crt --ivt-loc=0x400 --obanksel=2 -mpic16 -p18f27j53 -Wl,libc18f.lib ${.ALLSRC} -o ${.TARGET} -llibm18f.lib20 ${CC} -V -Wl,-s${.CURDIR}/pic18f27j13.lkr --no-crt --ivt-loc=0x400 --obanksel=2 -mpic16 -p18f27j13 -Wl,libc18f.lib ${.ALLSRC} -o ${.TARGET} -llibm18f.lib 21 21 22 22 ${OBJECTS}: ${HEADERS} Makefile 23 23 24 24 .c.o: 25 ${CC} ${CFLAGS} -V --no-crt --ivt-loc=0x400 --obanksel=2 -mpic16 -p18f27j 53 -c ${.IMPSRC} -o ${.TARGET}25 ${CC} ${CFLAGS} -V --no-crt --ivt-loc=0x400 --obanksel=2 -mpic16 -p18f27j13 -c ${.IMPSRC} -o ${.TARGET} 26 26 27 27 .s.o:
Note: See TracChangeset
for help on using the changeset viewer.