mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Convert libraries into the BYTECODE_LIBRARY style
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,23 +1,7 @@
|
||||
LEVEL = ../../..
|
||||
BYTECODE_LIBRARY=1
|
||||
#DONT_BUILD_RELINKED=1
|
||||
LIBRARYNAME=gcc
|
||||
|
||||
LIBNAME = instr
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
||||
include ../Makefile.libs
|
||||
|
||||
## We need the native libraries for libinstr because they are directly
|
||||
## linked into the native CBE or LLC code. That is the only practical
|
||||
## way to debug them!
|
||||
|
||||
LIBINSTR = ../Output/libinstr.$(ARCH).a
|
||||
all:: $(LIBINSTR)
|
||||
|
||||
tracelib: tracelib.c
|
||||
g++ -g -DTEST_INSTRLIB $< -o $@
|
||||
|
||||
Debug/tracelib.o: tracelib.c Debug/.dir
|
||||
$(CompileC) -g $< -o $@
|
||||
|
||||
$(LIBINSTR): Debug/tracelib.o ../Output/.dir
|
||||
ar r $@ $<
|
||||
|
||||
tracelib.c: tracelib.h
|
||||
|
Reference in New Issue
Block a user