Teacup: Problem with Gen7 branch new split-Makefiles January 08, 2013 09:23AM |
Registered: 12 years ago Posts: 56 |
make -f Makefile-AVR all rm -f build/depend mkdir -p build avr-gcc -DF_CPU=16000000L -mmcu=atmega644p -g -Wall -Wstrict-prototypes -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Winline -fno-move-loop-invariants -fno-tree-scev-cprop -Os -ffunction-sections -finline-functions-called-once -mcall-prologues -save-temps=obj -MM analog.c clock.c copier.c crc.c dda.c dda_maths.c dda_queue.c debug.c delay.c gcode_parse.c gcode_process.c graycode.c heater.c home.c intercom.c mendel.c pinio.c sd.c serial.c sermsg.c sersendf.c temp.c timer.c usb_serial.c watchdog.c > build/depend make: *** No rule to make target `teacup.hex', needed by `all'. Stop
make -f Makefile-AVR build/clock.o make: *** No rule to make target `build/clock.o'. Stop.
make -f Makefile-AVR clock.o #rm -f depend #mkdir -p avr-gcc -DF_CPU=16000000L -mmcu=atmega644p -g -Wall -Wstrict-prototypes -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Winline -fno-move-loop-invariants -fno-tree-scev-cprop -Os -ffunction-sections -finline-functions-called-once -mcall-prologues -save-temps=obj -MM analog.c clock.c copier.c crc.c dda.c dda_maths.c dda_queue.c debug.c delay.c gcode_parse.c gcode_process.c graycode.c heater.c home.c intercom.c mendel.c pinio.c sd.c serial.c sermsg.c sersendf.c temp.c timer.c usb_serial.c watchdog.c > depend avr-gcc -DF_CPU=16000000L -mmcu=atmega644p -g -Wall -Wstrict-prototypes -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Winline -fno-move-loop-invariants -fno-tree-scev-cprop -Os -ffunction-sections -finline-functions-called-once -mcall-prologues -save-temps=obj -c -o clock.o clock.c
make -f Makefile-AVR build/clock.o avr-gcc -DF_CPU=16000000L -mmcu=atmega644p -g -Wall -Wstrict-prototypes -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Winline -fno-move-loop-invariants -fno-tree-scev-cprop -Os -ffunction-sections -finline-functions-called-once -mcall-prologues -save-temps=obj -c -o build/clock.o build/clock.c build/clock.c:7:19: fatal error: pinio.h: No such file or directory compilation terminated. make: *** [build/clock.o] Error 1Note that it failed as the other source files are missing but at least Make is not complaining about missing rules.
build/clock.o: clock.c echo "Works!"
Re: Teacup: Problem with Gen7 branch new split-Makefiles January 08, 2013 03:32PM |
Registered: 12 years ago Posts: 56 |
ln -s Makefile-AVR Makefile
Re: Teacup: Problem with Gen7 branch new split-Makefiles January 09, 2013 07:12AM |
Registered: 13 years ago Posts: 7,616 |
Quote
So does this split-makefile work for other people besides me or is it just broken at the moment?
$(BUILDDIR)/%.o: %.c config.h Makefile Makefile-commonIf you remove the word "Makefile" from this line, building without the file Makefile works again.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |