Also standalone l0dables allowed
This commit is contained in:
parent
d490211d92
commit
5a8735fdc5
|
@ -71,6 +71,21 @@ $(LOBJ):
|
||||||
OBJS += $(LOBJ)
|
OBJS += $(LOBJ)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq "$(APP)" "l0dable"
|
||||||
|
ifndef LAPP
|
||||||
|
LAPP=blinktest
|
||||||
|
endif
|
||||||
|
LSRC=../l0dable/$(LAPP).c
|
||||||
|
LOBJ=l0dable_$(LAPP).o
|
||||||
|
|
||||||
|
.PHONY: $(LOBJ)
|
||||||
|
|
||||||
|
$(LOBJ):
|
||||||
|
$(CC) $(CFLAGS) -o $@ $(LSRC)
|
||||||
|
|
||||||
|
OBJS += $(LOBJ)
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq "$(wildcard $(APP))" "$(APP)"
|
ifeq "$(wildcard $(APP))" "$(APP)"
|
||||||
ifndef TYPE
|
ifndef TYPE
|
||||||
TYPE=$(APP)
|
TYPE=$(APP)
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
for a in $* ; do
|
for a in $* ; do
|
||||||
case $a in
|
case $a in
|
||||||
loadable_*) continue;;
|
loadable_*) continue;;
|
||||||
|
l0dable_*) continue;;
|
||||||
*/*) continue;;
|
*/*) continue;;
|
||||||
esac
|
esac
|
||||||
base=${a%.o}
|
base=${a%.o}
|
||||||
|
@ -16,6 +17,7 @@ echo "void wrapper(void){"
|
||||||
for a in $* ; do
|
for a in $* ; do
|
||||||
case $a in
|
case $a in
|
||||||
loadable_*) continue;;
|
loadable_*) continue;;
|
||||||
|
l0dable_*) continue;;
|
||||||
*/*) continue;;
|
*/*) continue;;
|
||||||
esac
|
esac
|
||||||
base=${a%.o}
|
base=${a%.o}
|
||||||
|
@ -29,6 +31,7 @@ echo "void tick_wrapper(void){"
|
||||||
for a in $* ; do
|
for a in $* ; do
|
||||||
case $a in
|
case $a in
|
||||||
loadable_*) continue;;
|
loadable_*) continue;;
|
||||||
|
l0dable_*) continue;;
|
||||||
*/*) continue;;
|
*/*) continue;;
|
||||||
esac
|
esac
|
||||||
base=${a%.o}
|
base=${a%.o}
|
||||||
|
|
Loading…
Reference in New Issue