File: Makefile

package info (click to toggle)
libudev0-shim 200-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 100 kB
  • sloc: ansic: 27; makefile: 24
file content (14 lines) | stat: -rw-r--r-- 339 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CFLAGS := -Wall -Wextra -g -fvisibility=hidden -shared -fPIC $(CFLAGS)
LDFLAGS := -Wl,-soname,libudev.so.0 -Wl,-z,now $(LDFLAGS)
LDLIBS := -Wl,--no-as-needed -ludev -Wl,--as-needed

default: all

all: \
	libudev.so.0.0.9999

libudev.so.0.0.9999: libudev0.c
	$(CC) $(CFLAGS) $(LDFLAGS) $(LDLIBS) $^ -o $@

clean:
	$(RM) libudev.so.0.0.9999