mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Pretify the makefile.
Change-Id: I14e8d3a5fcdd23b0cd28094d0d1f9d2dc702f86e
This commit is contained in:
committed by
Félix Raimundo
parent
a4e3f1e2d1
commit
b5b11e0120
@@ -2,10 +2,7 @@ CC=clang
|
||||
CXX=clang++
|
||||
LD=clang++
|
||||
SIZE=size
|
||||
#GDB=gdb
|
||||
#OBJCOPY=$(TOOLCHAIN)-objcopy
|
||||
|
||||
#LDFLAGS += -pagezero_size 100000000
|
||||
LDFLAGS =
|
||||
|
||||
USE_LIBA=1
|
||||
|
||||
@@ -2,7 +2,5 @@ CC=gcc
|
||||
CXX=g++
|
||||
LD=g++
|
||||
SIZE=size
|
||||
#GDB=gdb
|
||||
#OBJCOPY=$(TOOLCHAIN)-objcopy
|
||||
|
||||
USE_LIBA=0
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
include ion/src/device/boot/Makefile
|
||||
objs += $(addprefix ion/src/device/, init.o heap.o)
|
||||
objs += $(addprefix ion/src/device/display/, display.o dma.o framebuffer.o gpio.o spi.o st7586.o)
|
||||
objs += $(addprefix ion/src/device/display/,\
|
||||
display.o\
|
||||
dma.o\
|
||||
framebuffer.o\
|
||||
gpio.o\
|
||||
spi.o\
|
||||
st7586.o)
|
||||
objs += $(addprefix ion/src/device/keyboard/, keyboard.o)
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
SFLAGS += -Ikandinsky/include
|
||||
objs += $(addprefix kandinsky/src/, font.o line.o pixel.o rect.o text.o types.o)
|
||||
objs += $(addprefix kandinsky/src/,\
|
||||
font.o\
|
||||
line.o\
|
||||
pixel.o\
|
||||
rect.o\
|
||||
text.o\
|
||||
types.o)
|
||||
tests += $(addprefix kandinsky/test/, set_pixel.c)
|
||||
|
||||
FREETYPE_PATH := /usr/local/Cellar/freetype/2.6.3
|
||||
|
||||
@@ -1,7 +1,25 @@
|
||||
SFLAGS += -Ipoincare/include
|
||||
objs += $(addprefix poincare/src/, addition.o context.o expression.o float.o integer.o fraction.o expression_lexer.o expression_parser.o subtraction.o power.o product.o symbol.o)
|
||||
objs += $(addprefix poincare/src/layout/, expression_layout.o fraction_layout.o horizontal_layout.o exponent_layout.o string_layout.o)
|
||||
tests += $(addprefix poincare/test/, integer.cpp)
|
||||
objs += $(addprefix poincare/src/,\
|
||||
addition.o\
|
||||
context.o\
|
||||
expression.o\
|
||||
float.o\
|
||||
integer.o\
|
||||
fraction.o\
|
||||
expression_lexer.o\
|
||||
expression_parser.o\
|
||||
subtraction.o\
|
||||
power.o\
|
||||
product.o\
|
||||
symbol.o)
|
||||
objs += $(addprefix poincare/src/layout/,\
|
||||
expression_layout.o\
|
||||
fraction_layout.o\
|
||||
horizontal_layout.o\
|
||||
exponent_layout.o\
|
||||
string_layout.o)
|
||||
tests += $(addprefix poincare/test/,\
|
||||
integer.cpp)
|
||||
|
||||
# Even though flex and bison will generate both implementation and headers at
|
||||
# once, we don't declare it in the Makefile. If we did, "make -jN" with N>1 may
|
||||
|
||||
Reference in New Issue
Block a user