Fixed problem in DeviceSettings::strParam, returned wrong string
[avr-sim.git] / test / Makefile
blob574a5d217de33582cc5ee978a94aaf40c13dab43
1 CXX = avr-gcc
2 CXXFLAGS = -O2 -g -Wall -mmcu=atmega162 -DF_CPU=8000000
3 CXXFLAGS2 = -O2 -g -Wall -mmcu=atmega8 -DF_CPU=8000000
5 ASM = avra
6 ASMFLAGS =
8 all: deep_frame demo timer test
9 deep_frame: deep_frame.c
10 $(CXX) $(CXXFLAGS) -o deep_frame deep_frame.c
12 demo: demo.c
13 $(CXX) $(CXXFLAGS) -o demo demo.c
15 timer: timer.c
16 $(CXX) $(CXXFLAGS) -o timer timer.c
18 test: test.c
19 $(CXX) $(CXXFLAGS) -o test test.c
21 loop: loop.c
22 $(CXX) $(CXXFLAGS) -o loop loop.c
24 fib: fib.c
25 $(CXX) $(CXXFLAGS) -o fib fib.c
27 nsquared: nsquared.c
28 $(CXX) $(CXXFLAGS) -o nsquared nsquared.c
30 usart: usart_test.c midi.c
31 $(CXX) $(CXXFLAGS) -o usart usart_test.c midi.c
33 usart_int: usart_test.c midi_int.c
34 $(CXX) $(CXXFLAGS) -o usart_int usart_test.c midi_int.c
36 spi: spi.c spi_test.c
37 $(CXX) $(CXXFLAGS) -o spi spi_test.c spi.c
39 eeprom: eeprom.c spi.c eeprom_test.c
40 $(CXX) $(CXXFLAGS) -DHAVE_SPI -o eeprom eeprom_test.c eeprom.c spi.c
42 adc: adio.c adc_test.c
43 $(CXX) $(CXXFLAGS2) -o adc adc_test.c adio.c
45 flash_test: flash_test.c
46 $(CXX) $(CXXFLAGS) -o flash_test flash_test.c
48 test_eeprom: test_eeprom.asm
49 $(ASM) $(ASMFLAGS) -o test_eeprom test_eeprom.asm
51 test_cntr: test_cntr.asm
52 $(ASM) $(ASMFLAGS) -o test_cntr test_cntr.asm