Merge branch 'master' of github.com:r0ket/r0ket

This commit is contained in:
schneider 2011-12-19 21:46:37 +01:00
commit 5f584adb82
1 changed files with 4 additions and 29 deletions

View File

@ -4,6 +4,10 @@
OBJS =
ifndef APP
APP=final
endif
ifeq "$(APP)" "initial"
NODEFAULT = y
endif
@ -20,20 +24,6 @@ OBJS += $(foreach mod,$(APP),$(mod).o)
SRCS = $(foreach mod,$(APP),$(mod).c)
ifndef APP
ME_OBJ=final
ifeq "$(ME_OBJ)" ""
ME_OBJ=$(USER)
endif
ifeq "$(ME_OBJ)" ""
ME_OBJ=nouser
endif
OBJS += $(ME_OBJ).o
endif
WRAP=wrapper
LIBNAME=app
@ -60,21 +50,6 @@ endif
all: $(LIBFILE)
ifeq "$(APP)" "loadable"
ifndef LAPP
LAPP=blinktest
endif
LSRC=../loadable/$(LAPP).c
LOBJ=loadable_$(LAPP).o
.PHONY: $(LOBJ)
$(LOBJ):
$(CC) $(CFLAGS) -o $@ $(LSRC)
OBJS += $(LOBJ)
endif
ifeq "$(APP)" "l0dable"
ifndef LAPP
LAPP=blinktest