
| Current Path : /var/www/web-klick.de/dsh/50_1/1330__canpy/scripts/arduinocan/ArduinoStateMachineAndLinux/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/web-klick.de/dsh/50_1/1330__canpy/scripts/arduinocan/ArduinoStateMachineAndLinux/makefile |
# build an executable named myprog from test.c # the complier: gcc for C program, define as g++ for C++ #CC=gcc #compiler flag: # -g adds debugging infortion to executable file # -Wall turns on most , but not all , complier warnings #CFLAGS = -g -Wall objects= ArduinoLinuxCANUSB.o StateMachine.o # build the target executable: edit: $(objects) gcc -o ArduinoRun $(objects) StateMachine.o: StateMachine.c ArduinoSignalToMessage.h ArduinoLinuxCANUSB.h gcc -std=c99 -c StateMachine.c ArduinoLinuxCANUSB.o: ArduinoLinuxCANUSB.c ArduinoLinuxCANUSB.h gcc -std=c99 -c ArduinoLinuxCANUSB.c clean: rm ArduinoLinuxCANUSB.o StateMachine.o run: ./ArduinoRun CAN 1 t000101