mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Currently includes code to hash pointers to sequence numbers. The hash table should be separated out into a separate file since that is generic. The rest of this code is pretty small. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2655 91177308-0d34-0410-b5e6-96231b3b80d8
27 lines
483 B
Makefile
27 lines
483 B
Makefile
LEVEL = ../../..
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
LIB32 = ../Output/libinstr32.a
|
|
LIB64 = ../Output/libinstr64.a
|
|
all:: $(LIB32) $(LIB64)
|
|
|
|
tracelib: tracelib.c
|
|
g++ -g -DTEST_INSTRLIB $< -o $@
|
|
|
|
Debug/tracelib32.o: tracelib.c Debug/.dir
|
|
g++ -c -g $< -o $@
|
|
|
|
Debug/tracelib64.o: tracelib.c Debug/.dir
|
|
cc -c -xarch=v9 -g $< -o $@
|
|
|
|
$(LIB32): Debug/tracelib32.o ../Output/.dir
|
|
ar r $@ $<
|
|
|
|
$(LIB64): Debug/tracelib64.o ../Output/.dir
|
|
ar r $@ $<
|
|
|
|
test: tracelib
|
|
|
|
tracelib.c: tracelib.h
|