]>
git.proxmox.com Git - rustc.git/blob - src/llvm/tools/llvm-c-test/Makefile
1 ##===- tools/llvm-c-test -----------------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
11 TOOLNAME
= llvm-c-test
17 # If there is no shared lib, link all components...
18 ifneq ($(ENABLE_SHARED
),1)
22 include $(LEVEL
)/Makefile.common
24 CFLAGS
+= -std
=c99
-Wall
-Wstrict-prototypes
26 # ...but if it is built - use it
27 ifeq ($(ENABLE_SHARED
),1)
28 LIBS
= -lLLVM-
$(LLVMVersion
)