-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
61 lines (37 loc) · 2.33 KB
/
Copy pathMakefile
File metadata and controls
61 lines (37 loc) · 2.33 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# This is a makefile for building the quickboot_builder under Linux.
# requires a c++ compiler that supports c++-2011 standard.
CXX = g++ -std=c++11
CXXFLAGS = -O -g -Wall
all: quickboot_builder quickboot_gold quickboot_builder3 quickboot_silver3 quickboot_gold3 bitstream_debug
clean:
rm -f *.o *~
O = quickboot_builder.o extract_register_write.o read_bit_file.o replace_register_write.o test_image_compat.o disable_stream_crc.o write_to_mcs_file.o
quickboot_builder: $O
$(CXX) $(CXXFLAGS) -o quickboot_builder $O
O3 = quickboot_builder3.o read_bit_file.o write_to_mcs_file.o replace_register_write.o disable_stream_crc.o
quickboot_builder3: $(O3)
$(CXX) $(CXXFLAGS) -o quickboot_builder3 $(O3)
G = quickboot_gold.o read_bit_file.o test_image_compat.o extract_register_write.o replace_register_write.o disable_stream_crc.o
quickboot_gold: $G
$(CXX) $(CXXFLAGS) -o quickboot_gold $G
S3 = quickboot_silver3.o read_bit_file.o replace_register_write.o
quickboot_silver3: $(S3)
$(CXX) $(CXXFLAGS) -o quickboot_silver3 $(S3)
G3 = quickboot_gold3.o read_bit_file.o replace_register_write.o disable_stream_crc.o
quickboot_gold3: $(G3)
$(CXX) $(CXXFLAGS) -o quickboot_gold3 $(G3)
BD = bitstream_debug.o read_bit_file.o
bitstream_debug: $(BD)
$(CXX) $(CXXFLAGS) -o bitstream_debug $(BD)
quickboot_builder.o: quickboot_builder.cc read_bit_file.h extract_register_write.h replace_register_write.h test_image_compat.h disable_stream_crc.h write_to_mcs_file.h
quickboot_builder3.o: quickboot_builder3.cc disable_stream_crc.h read_bit_file.h replace_register_write.h write_to_mcs_file.h
quickboot_gold.o: quickboot_gold.cc read_bit_file.h replace_register_write.h test_image_compat.h disable_stream_crc.h
quickboot_silver3.o: quickboot_silver3.cc read_bit_file.h replace_register_write.h
quickboot_gold3.o: quickboot_gold3.cc read_bit_file.h replace_register_write.h disable_stream_crc.h
bitstream_debug.o: bitstream_debug.cc read_bit_file.h
read_bit_file.o: read_bit_file.cc read_bit_file.h
extract_register_write.o: extract_register_write.cc extract_register_write.h
replace_register_write.o: replace_register_write.cc replace_register_write.h
test_image_compat.o: test_image_compat.cc test_image_compat.h extract_register_write.h
disable_stream_crc.o: disable_stream_crc.cc disable_stream_crc.h
write_to_mcs_file.o: write_to_mcs_file.cc write_to_mcs_file.h