File: build-test

package info (click to toggle)
libvirt 11.10.0-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 211,168 kB
  • sloc: ansic: 537,214; xml: 335,516; python: 12,041; 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 (6)
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