2011-05-11 21:18:46 +00:00
|
|
|
##########################################################################
|
|
|
|
# User configuration and firmware specific object files
|
|
|
|
##########################################################################
|
|
|
|
|
|
|
|
OBJS =
|
|
|
|
OBJS += smallfonts.o
|
2011-05-11 23:37:26 +00:00
|
|
|
|
2011-05-15 23:10:48 +00:00
|
|
|
OBJS += ubuntu18.o
|
2011-05-16 09:54:47 +00:00
|
|
|
OBJS += orbitron14.o
|
2011-05-13 13:20:08 +00:00
|
|
|
|
2011-05-11 21:18:46 +00:00
|
|
|
OBJS += display.o
|
|
|
|
OBJS += render.o
|
2011-05-14 20:23:55 +00:00
|
|
|
OBJS += decoder.o
|
2011-05-21 15:26:37 +00:00
|
|
|
OBJS += backlight.o
|
2011-05-11 21:18:46 +00:00
|
|
|
|
|
|
|
##########################################################################
|
|
|
|
# GNU GCC compiler flags
|
|
|
|
##########################################################################
|
2011-05-21 00:16:03 +00:00
|
|
|
ROOT_PATH?= ..
|
|
|
|
INCLUDE_PATHS = -I$(ROOT_PATH) -I../core -I.
|
2011-05-11 21:18:46 +00:00
|
|
|
|
2011-05-21 00:16:03 +00:00
|
|
|
include $(ROOT_PATH)/Makefile.inc
|
2011-05-11 21:18:46 +00:00
|
|
|
|
|
|
|
##########################################################################
|
|
|
|
# Compiler settings, parameters and flags
|
|
|
|
##########################################################################
|
|
|
|
|
|
|
|
all: libfont.a
|
|
|
|
|
|
|
|
libfont.a: $(OBJS)
|
|
|
|
$(AR) rcs libfont.a $(OBJS)
|
|
|
|
|
|
|
|
%.o : %.c
|
|
|
|
$(CC) $(CFLAGS) -o $@ $<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJS) libfont.a
|
|
|
|
|
|
|
|
render.o: render.c render.h display.h fonts.h
|
|
|
|
smallfonts.o: smallfonts.c smallfonts.h fonts.h
|
|
|
|
|