mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
47485df280
taking out the rule for compiling the test driver. 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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7129 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
487 B
Makefile
24 lines
487 B
Makefile
LEVEL = ../../..
|
|
|
|
LIBNAME = instr
|
|
|
|
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
|