Generate FMINNAN/FMINNUM/FMAXNAN/FMAXNUM from SDAGBuilder.
[llvm-core.git] / tools / llvm-c-test / Makefile
blob08be7c3619fb23bdf89bc8c9d126a9d348360cf8
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 ##===----------------------------------------------------------------------===##
10 LEVEL = ../..
11 TOOLNAME = llvm-c-test
13 TOOL_NO_EXPORTS = 1
14 NO_INSTALL = 1
17 # If there is no shared lib, link all components...
18 ifneq ($(ENABLE_SHARED),1)
19 LINK_COMPONENTS = all
20 endif
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)
29 endif