File: build-test

package info (click to toggle)
libvirt 12.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 212,536 kB
  • sloc: ansic: 537,688; xml: 342,012; python: 12,056; perl: 2,626; sh: 2,175; makefile: 448; javascript: 126; cpp: 22
file content (9 lines) | stat: -rwxr-xr-x 218 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
#!/usr/bin/make -f

CFLAGS = $(shell pkg-config --cflags libvirt)
LIBS = $(shell pkg-config --libs libvirt)

a.out: examples/c/domain/info1.c
	gcc $(CFLAGS) $< $(LIBS)
	@echo "Build test of $< succeeded"
	@rm -f a.out