Build-Infrastructure: Allow a different target name.
This commit is contained in:
parent
b4c680bb15
commit
df7458e35a
|
@ -63,10 +63,13 @@ SRC = \
|
|||
target.c \
|
||||
|
||||
include $(PLATFORM_DIR)/Makefile.inc
|
||||
ifndef TARGET
|
||||
TARGET=blackmagic
|
||||
endif
|
||||
|
||||
OBJ = $(SRC:.c=.o)
|
||||
|
||||
blackmagic: include/version.h $(OBJ)
|
||||
$(TARGET): include/version.h $(OBJ)
|
||||
@echo " LD $@"
|
||||
$(Q)$(CC) -o $@ $(OBJ) $(LDFLAGS)
|
||||
|
||||
|
|
Loading…
Reference in New Issue