comparison src/gpf2/ccd/ccd_lnt.mk @ 1:864b8cc0cf63

src/gpf2: preened GPF goo from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2016 23:38:58 +0000
parents
children
comparison
equal deleted inserted replaced
0:945cf7f506b2 1:864b8cc0cf63
1 #-----------------------------------------------------------------------------
2 # Project :
3 # Modul : ccd_lnt.mk
4 #-----------------------------------------------------------------------------
5 # Copyright 2002 Texas Instruments Berlin, AG
6 # All rights reserved.
7 #
8 # This file is confidential and a trade secret of Texas
9 # Instruments Berlin, AG
10 # The receipt of or possession of this file does not convey
11 # any rights to reproduce or disclose its contents or to
12 # manufacture, use, or sell anything it may describe, in
13 # whole, or in part, without the specific written consent of
14 # Texas Instruments Berlin, AG.
15 #-----------------------------------------------------------------------------
16 # Purpose : Some general definition for lint.
17 #-----------------------------------------------------------------------------
18 LINT_EXE=lint-nt.exe
19 LINT_OPT+=-i/gpf/TEMPLATE/lint -u options.lnt -v -b
20 LINT_OPT+=-emacro(\*,va_start,va_arg,va_end)
21
22 ifeq ($(CC),cl)
23 LINT_OPT+=-D_WIN32 -D_M_IX86 -D_MSC_VER=1100
24 endif
25 ifeq ($(CC),cl470)
26 INCLUDE=$(C_DIR)
27 ifeq ($(PLATFORM),arm9)
28 LINT_OPT+=-D__TMS470__
29 endif
30 endif
31
32 lint: $(LNTFILES)
33
34 $(LNTFILES): %.lto: %.c
35 -$(LINT_EXE) $(LINT_OPT) $(DEFINES) $(INCLUDES) "$<"