Add clear hook. Refactor.
[bertos.git] / app / triface / triface.mk
index b7c19cc41968a156bff22fe71fa5f5f104645e6d..245df818128e860458ade67103a4c467e805bae7 100644 (file)
@@ -23,6 +23,7 @@ triface_lock = 0x2f
 triface_CSRC = \
        app/triface/triface.c \
        app/triface/protocol.c \
+       app/triface/hw/hw_adc.c \
        drv/timer.c \
        drv/ser.c \
        cpu/avr/drv/ser_avr.c \
@@ -33,17 +34,19 @@ triface_CSRC = \
        mware/readline.c \
        mware/parser.c \
        mware/event.c \
+       kern/kfile.c \
        net/keytag.c \
-       hw/hw_adc.c \
        drv/buzzer.c \
+       #
 
 triface_PCSRC += mware/formatwr.c
 
 
-triface_CFLAGS = -O2 -D'ARCH=0' -Iapp/triface/hw -Iapp/triface -Icpu/avr
+triface_CFLAGS = -O2 -D'ARCH=0' -fno-strict-aliasing -Iapp/triface -Iapp/triface/hw -Icpu/avr
 triface_LDFLAGS = -Wl
 
 triface_MCU = atmega64
+triface_CROSS = avr-
 
 # Debug stuff
 ifeq ($(triface_DEBUG),1)