File: test13.compile

package info (click to toggle)
daemon 0.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,072 kB
  • sloc: ansic: 30,432; sh: 4,310; perl: 592; makefile: 307
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