You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
590 B
30 lines
590 B
#
|
|
# Copyright (c) 2019, Arm Limited. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
CC = cl.exe
|
|
LD = link.exe
|
|
|
|
FIPTOOL = fiptool.exe
|
|
OBJECTS = fiptool.obj tbbr_config.obj win_posix.obj
|
|
|
|
INC = -I. -I..\..\include\tools_share
|
|
CFLAGS = $(CFLAGS) /nologo /Za /Zi /c /O2 /MT
|
|
|
|
all: $(FIPTOOL)
|
|
|
|
$(FIPTOOL): $(OBJECTS)
|
|
$(LD) /INCREMENTAL:NO /debug /nodefaultlib:libc.lib /out:$@ $(LIBS) $**
|
|
|
|
.PHONY: clean realclean
|
|
|
|
clean:
|
|
del /f /q $(OBJECTS) > nul
|
|
|
|
realclean:
|
|
del /f /q $(OBJECTS) $(FIPTOOL) > nul
|
|
|
|
.c.obj:
|
|
$(CC) -c $(CFLAGS) $(INC) $< -Fo$@
|
|
|