File: test13.compile

package info (click to toggle)
daemon 0.6.4-1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 2,600 kB
  • ctags: 2,389
  • sloc: ansic: 28,824; sh: 3,036; perl: 594; makefile: 304
file content (15 lines) | stat: -rwxr-xr-x 358 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

[ -x test13.daemon ] && exit 0

cc -I../libslack -DHAVE_GETOPT_LONG=1 -DHAVE_SNPRINTF=1 -DHAVE_VSSCANF=1 -DHAVE_PTHREAD_RWLOCK=1 -o test13.daemon test13.daemon.c -L../libslack -lslack -lpthread -lutil

# cc -o test13.daemon test13.daemon.c `libslack-config --cflags --libs`

if [ "$?" != 0 ]
then
	echo "compilation failed" >&2
	exit 1
fi

exit 0