Correctly default to APP=final now

This commit is contained in:
Stefan `Sec` Zehl 2011-12-19 21:20:58 +01:00
parent 8139b37a19
commit 84467303e7
1 changed files with 4 additions and 14 deletions

View File

@ -4,6 +4,10 @@
OBJS = OBJS =
ifndef APP
APP=final
endif
ifeq "$(APP)" "initial" ifeq "$(APP)" "initial"
NODEFAULT = y NODEFAULT = y
endif endif
@ -20,20 +24,6 @@ OBJS += $(foreach mod,$(APP),$(mod).o)
SRCS = $(foreach mod,$(APP),$(mod).c) SRCS = $(foreach mod,$(APP),$(mod).c)
ifndef APP
ME_OBJ=$(USERNAME)
ifeq "$(ME_OBJ)" ""
ME_OBJ=$(USER)
endif
ifeq "$(ME_OBJ)" ""
ME_OBJ=nouser
endif
OBJS += $(ME_OBJ).o
endif
WRAP=wrapper WRAP=wrapper
LIBNAME=app LIBNAME=app