2002-05-25 07:30:55 +00:00
|
|
|
DEPTH = ..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
2002-04-30 22:22:54 +00:00
|
|
|
VERSION = 1
|
|
|
|
|
|
|
|
CFLAGS = -g
|
|
|
|
|
|
|
|
CC = @CC@ $(CFLAGS)
|
|
|
|
|
2002-05-24 04:29:10 +00:00
|
|
|
PROGS = md5_test shmem_test synch_test
|
2002-04-30 22:22:54 +00:00
|
|
|
|
|
|
|
MD5_OBJS = \
|
|
|
|
md5.o \
|
|
|
|
md5_file.o
|
|
|
|
|
|
|
|
COUNTRY_OBJS = \
|
|
|
|
countries.o
|
|
|
|
|
|
|
|
all: $(PROGS) $(MD5_OBJS)
|
|
|
|
|
|
|
|
.C.o:
|
|
|
|
$(CC) -c -o $*.o $<
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c -o $*.o $<
|
|
|
|
|
|
|
|
md5_test: md5_test.o $(MD5_OBJS)
|
|
|
|
$(CC) md5_test.o $(MD5_OBJS) -o md5_test
|
|
|
|
|
2002-05-24 04:29:10 +00:00
|
|
|
shmem_test: shmem_test.o shmem.o
|
|
|
|
$(CC) shmem_test.o shmem.o -o shmem_test
|
|
|
|
|
|
|
|
synch_test: synch_test.o synch.o
|
|
|
|
$(CC) synch_test.o synch.o -o synch_test
|
|
|
|
|
2002-04-30 22:22:54 +00:00
|
|
|
clean:
|
|
|
|
rm -f *.o $(PROGS) core dependencies
|
|
|
|
|
2002-05-25 07:30:55 +00:00
|
|
|
dependencies: @srcdir@/*.C
|
2002-05-25 07:34:27 +00:00
|
|
|
$(CC) -M @srcdir@/*.C > dependencies
|
2002-04-30 22:22:54 +00:00
|
|
|
|
|
|
|
include dependencies
|