Use DEBUG instead of __NO_INLINE__ since this is not defined for -Os
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
# Definitions.
|
||||
CC = avr-gcc
|
||||
CFLAGS = -mmcu=atmega32u2 -Os -finline -Wall -Wstrict-prototypes -Wextra -g -I../../drivers -I../../extra -I../../drivers/avr -I../../fonts -I../../utils
|
||||
CFLAGS = -mmcu=atmega32u2 -Os -Wall -Wstrict-prototypes -Wextra -g -I../../drivers -I../../extra -I../../drivers/avr -I../../fonts -I../../utils
|
||||
OBJCOPY = avr-objcopy
|
||||
SIZE = avr-size
|
||||
DEL = rm
|
||||
@@ -40,7 +40,7 @@ led.o: ../../drivers/led.c ../../drivers/avr/pio.h ../../drivers/avr/system.h ..
|
||||
ledmat.o: ../../drivers/ledmat.c ../../drivers/avr/pio.h ../../drivers/avr/system.h ../../drivers/ledmat.h
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
mmelody.o: ../../extra/mmelody.c ../../drivers/avr/system.h ../../extra/mmelody.h ../../extra/ticker.h
|
||||
mmelody.o: ../../extra/mmelody.c ../../drivers/avr/system.h ../../extra/mmelody.h
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
squeaker.o: ../../extra/squeaker.c ../../drivers/avr/system.h ../../extra/squeaker.h ../../extra/ticker.h
|
||||
|
||||
@@ -41,7 +41,7 @@ system-test.o: ../../drivers/test/system.c ../../drivers/test/avrtest.h ../../dr
|
||||
timer-test.o: ../../drivers/test/timer.c ../../drivers/test/system.h ../../drivers/test/timer.h
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
mmelody-test.o: ../../extra/mmelody.c ../../drivers/test/system.h ../../extra/mmelody.h ../../extra/ticker.h
|
||||
mmelody-test.o: ../../extra/mmelody.c ../../drivers/test/system.h ../../extra/mmelody.h
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
squeaker-test.o: ../../extra/squeaker.c ../../drivers/test/system.h ../../extra/squeaker.h ../../extra/ticker.h
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# File: Makefile
|
||||
# Author: M. P. Hayes, UCECE
|
||||
# Date: 11 Sep 2010
|
||||
# Descr: Makefile for squeak2 docs
|
||||
# Descr: Makefile for squeak4 docs
|
||||
|
||||
DEL = rm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user