$(CC) $(CFLAGS) -o $@ $(filter %.o,$^) -lpthread -laio -lm -lrt
clean:
- -rm -f *.o .depend $(PROGS)
+ -rm -f *.o .depend cscope.out $(PROGS)
depend:
@$(CC) -MM $(ALL_CFLAGS) *.c 1> .depend
+cscope:
+ @cscope -b
+
INSTALL = install
prefix = /usr/local
bindir = $(prefix)/bin
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
-#include <stdio.h>
-#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
-#include <errno.h>
#include <signal.h>
#include <time.h>
#include <assert.h>