defs.mk: Add default definition for PROJECT variable

This commit is contained in:
Jan Lindemann 2007-08-02 13:27:38 +00:00 committed by Jan Lindemann
commit 3f006bba30

View file

@ -64,9 +64,8 @@ CFLAGS += -DVERSION=$(HEX_VERSION)
CPPFLAGS += -DVERSION=$(HEX_VERSION)
LD_LIB_PATH += $(MODDIR)/lib
ifndef LIBNAME
LIBNAME := $(PROJECT)
endif
PROJECT ?= $(notdir $(shell cd $(TOPDIR); pwd))
LIBNAME ?= $(PROJECT)
TARGET ?= Linux