We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7430f2d commit 1a1f5ffCopy full SHA for 1a1f5ff
Makefile.pi
@@ -17,23 +17,19 @@ EXECS=set_xcvr
17
18
CFILES = set_xcvr.c
19
20
-all: depend $(EXECS)
+all: $(EXECS)
21
22
install: $(EXECS)
23
rsync -a $(EXECS) $(BINDIR)
24
25
clean:
26
- rm -f *.o *.a .depend $(EXECS)
+ rm -f *.o *.a *.d .depend $(EXECS)
27
28
-depend: .depend
+DEPS = $(CFILES:.c=.d)
29
30
-.depend: $(CFILES)
31
- rm -f .depend
32
- $(CC) $(CFLAGS) -MM $(CFILES) > .depend
+-include $(DEPS)
33
34
--include .depend
35
-
36
-.PHONY: clean all install depend
+.PHONY: clean all install
37
38
# Executables
39
set_xcvr: set_xcvr.o config.o
0 commit comments