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