File tree 3 files changed +14
-8
lines changed
3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1
1
.vscode
2
2
* .o
3
+ * .d
3
4
* .plist
4
5
tests /test
5
6
tests /* .o
7
+ tests /* .d
6
8
tests /_test *
7
9
ppm2pwg
8
10
pwg2ppm
Original file line number Diff line number Diff line change @@ -17,16 +17,16 @@ EXTRAS = hexdump ippdecode bsplit
17
17
all : $(OFFICIAL ) $(EXTRAS )
18
18
19
19
pdf2printable_mad.o : pdf2printable.cpp
20
- $(CXX ) -c -DMADNESS=1 $(CXXFLAGS ) $^ -o $@
20
+ $(CXX ) -MMD - c -DMADNESS=1 $(CXXFLAGS ) $^ -o $@
21
21
22
22
baselinify_mad.o : baselinify.cpp
23
- $(CXX ) -c -DMADNESS=1 $(CXXFLAGS ) $^ -o $@
23
+ $(CXX ) -MMD - c -DMADNESS=1 $(CXXFLAGS ) $^ -o $@
24
24
25
25
json11.o : json11.cpp
26
- $(CXX ) -c $(CXXFLAGS ) $(SILLY_CLANG_FLAGS ) $<
26
+ $(CXX ) -MMD - c $(CXXFLAGS ) $(SILLY_CLANG_FLAGS ) $<
27
27
28
28
% .o : % .cpp
29
- $(CXX ) -c $(CXXFLAGS ) $<
29
+ $(CXX ) -MMD - c $(CXXFLAGS ) $<
30
30
31
31
ppm2pwg : bytestream.o printparameters.o ppm2pwg.o ppm2pwg_main.o
32
32
$(CXX ) $^ $(LDFLAGS ) -o $@
@@ -65,7 +65,7 @@ ippdiscover: ippdiscover.o ippdiscovery.o bytestream.o
65
65
$(CXX ) $^ $(LDFLAGS ) -o $@
66
66
67
67
clean :
68
- rm -f * .o $(OFFICIAL ) $(EXTRAS )
68
+ rm -f * .o * .d $(OFFICIAL ) $(EXTRAS )
69
69
70
70
% .tidy : % .cpp
71
71
$(CLANG_TIDY ) $< -- $(CXXFLAGS )
79
79
80
80
install : $(OFFICIAL )
81
81
cp $^ /usr/bin/
82
+
83
+ -include *.d
Original file line number Diff line number Diff line change @@ -16,13 +16,15 @@ test.o: test.cpp
16
16
17
17
# Silly clang
18
18
json11.o : json11.cpp
19
- $(CXX ) -c $(CXXFLAGS ) -Wno-unqualified-std-cast-call $<
19
+ $(CXX ) -MMD - c $(CXXFLAGS ) -Wno-unqualified-std-cast-call $<
20
20
21
21
% .o : % .cpp
22
- $(CXX ) -c $(CXXFLAGS ) $<
22
+ $(CXX ) -MMD - c $(CXXFLAGS ) $<
23
23
24
24
test : bytestream.o ippprinter.o ippprintjob.o curlrequester.o printparameters.o ppm2pwg.o pwg2ppm.o pdf2printable.o baselinify.o ippmsg.o ippattr.o json11.o minimime.o ippdiscovery.o test.o
25
25
$(CXX ) $(CXXFLAGS ) $^ $(LDFLAGS ) -o $@
26
26
27
27
clean :
28
- rm -f test * .o
28
+ rm -f test * .o * .d
29
+
30
+ -include *.d
You can’t perform that action at this time.
0 commit comments