blob: 18110e223ed7a1075370539aeb0b87eeb1b50e59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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
|