blob: 976299a1d430f901ace72d94bd77f866d7fbdc31 (
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
27
28
29
|
AR = ar
CXX = g++
INCS = -Iinclude -Isrc/abstraction -Isrc/ld
CXXFLAGS = $(INCS)
LDFLAGS =
all: machocheck rebase unwinddump dyldinfo ObjectDump ld
libprunetrie.a: src/other/PruneTrie.o src/other/prune_trie.h
$(AR) -r -c libprunetrie.a src/other/PruneTrie.o
ld: libprunetrie.a src/ld/ld.o src/ld/Options.o src/ld/debugline.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
rebase: src/other/rebase.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
dyldinfo: src/other/dyldinfo.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
unwinddump: src/other/unwinddump.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
ObjectDump: src/other/ObjectDump.o src/ld/debugline.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
machocheck: src/other/machochecker.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
|