2016-07-06 11:28:51 +02:00
|
|
|
## Temporary things there
|
2016-05-05 11:49:05 +02:00
|
|
|
|
2016-07-06 11:28:51 +02:00
|
|
|
# C source file template:
|
|
|
|
# $1 module name
|
|
|
|
# $2 file base name
|
|
|
|
define rule-c-source
|
|
|
|
build/$1_$2.c.o: src/$1/$2.c
|
|
|
|
$(cc) $(cflags) -c $$< -o $$@
|
|
|
|
endef
|
2016-05-05 11:49:05 +02:00
|
|
|
|
2016-07-06 11:28:51 +02:00
|
|
|
$(eval $(call rule-c-source,display,area))
|