File: use-implicit-rule.patch

package info (click to toggle)
w3cam 0.7.2-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 748 kB
  • sloc: ansic: 3,822; makefile: 68
file content (17 lines) | stat: -rw-r--r-- 416 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Use implicit rule of GNU make, which takes CPPFLAGS in account
Author: Santiago Vila <sanvila@debian.org>
Bug-Debian: https://bugs.debian.org/1119609
Last-Update: 2025-12-16

--- a/w3camd/Makefile.in
+++ b/w3camd/Makefile.in
@@ -11,9 +11,6 @@
 
 OBJ = w3camd.o w3socket.o w3v4l.o w3http.o w3jpeg.o
 
-%.o: %.c
-	$(CC) $(CFLAGS) -c $<
-
 w3camd: $(OBJ)
 	$(CC) -o $@ $(OBJ) -lpthread -ljpeg $(LDFLAGS)