head	1.4;
access;
symbols;
locks
	terry:1.4; strict;
comment	@# @;


1.4
date	2005.09.22.15.58.33;	author terry;	state Exp;
branches;
next	1.3;

1.3
date	2005.09.07.05.35.05;	author terry;	state Exp;
branches;
next	1.2;

1.2
date	2005.08.27.00.42.39;	author terry;	state Exp;
branches;
next	1.1;

1.1
date	2005.08.26.08.55.48;	author terry;	state Exp;
branches;
next	;


desc
@@


1.4
log
@*** empty log message ***
@
text
@# $Id: Makefile,v 1.3 2005/09/07 05:35:05 terry Exp terry $

TARGETS = tperf
OBJS = $(TARGETS:=.o)

CC = gcc
CFLAGS = -O3 -funroll-loops -Wall -W -Winline
LDFLAGS = -s
#LDLIBS = -lm
LDLIBS = -lm -lrt
#LDLIBS = -lm -lrt -lsocket -lnsl

all: $(TARGETS)

$(TARGETS): %: %.o
	$(CC) $(LDFLAGS) -o $@@ $^ $(LDLIBS)

%.o: %.c
	$(CC) $(CFLAGS) -c $<

clean:
	- rm -f $(TARGETS) $(OBJS)

$(OBJS): config.h
@


1.3
log
@*** empty log message ***
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 2005/08/27 00:42:39 terry Exp terry $
d9 3
a11 1
#LDLIBS = -lsocket -lnsl
@


1.2
log
@*** empty log message ***
@
text
@d1 1
a1 1
# $Id$
d9 1
d14 1
a14 1
	$(CC) $(LDFLAGS) -o $@@ $^
@


1.1
log
@Initial revision
@
text
@d1 2
d7 1
a7 1
CFLAGS = -O3 -funroll-loops -Wall
d15 1
a15 1
.c.o:
d19 1
a19 1
	-rm -f $(TARGETS) $(OBJS)
@
