comparison gpf/CCD/ccd_lnt.mk @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
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) "$<"