mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-23 02:32:11 +00:00
74e032a4d4
1. Return the module from the MakeModule function so it can be verified. 2. Make sure types get generated with their names git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28536 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
963 B
Makefile
29 lines
963 B
Makefile
##===- tools/llvm-as/Makefile ------------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file was developed by the LLVM research group and is distributed under
|
|
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
LEVEL = ../..
|
|
TOOLNAME = llvm2cpp
|
|
USEDLIBS = LLVMAsmParser LLVMBCWriter LLVMCore \
|
|
LLVMSupport.a LLVMbzip2 LLVMSystem.a
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
CPPFILESTOTRY = recurty.cpp globalvars.cpp
|
|
tryit: all-local $(CPPFILESTOTRY)
|
|
|
|
%.cpp : %.ll $(ToolDir)/llvm2cpp
|
|
llvm2cpp $*.ll -f -o $*.cpp
|
|
|
|
% : %.cpp Makefile
|
|
gcc -Wall -I$(LLVM_SRC_ROOT)/include -I$(LLVM_OBJ_ROOT)/include -g \
|
|
-D__STDC_LIMIT_MACROS -L$(LibDir) $(LibDir)/LLVMCore.o -lLLVMSupport \
|
|
$(LibDir)/LLVMbzip2.o -lLLVMSystem -lstdc++ -Wno-unused \
|
|
$*.cpp -o $*
|
|
|
|
#$(CPPFILESTOTRY): $(ToolDir)/llvm2cpp
|