GNUmakefile.in 768 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# All rights reserved.
#

SRCDIR		= @srcdir@
TESTBED_SRCDIR	= @top_srcdir@
OBJDIR		= ../..
SUBDIR		= os/dijkstra

include $(OBJDIR)/Makeconf

Kirk Webb's avatar
Kirk Webb committed
14
CXXFLAGS	= -Wall -O2 -I/usr/local/include -ftemplate-depth-30 -g
15
16
17
18
19

all:	dijkstra

include $(TESTBED_SRCDIR)/GNUmakerules

20
21
22
23
dijkstra:	dijkstra.o bitmath.o Compressor.o IpTree.o SingleSource.o \
                bitmath.h Exception.h SingleSource.h IpTree.h dijkstra.h \
                Compressor.h lib.h
	$(CXX) $(CXXFLAGS) -static dijkstra.o bitmath.o Compressor.o IpTree.o SingleSource.o $(LIBS) -o dijkstra
24

25
26
client: all
client-install: client
Mike Hibler's avatar
Mike Hibler committed
27
	$(INSTALL_PROGRAM) -s dijkstra $(DESTDIR)$(CLIENT_BINDIR)/dijkstra
28
29
30
31

clean:
	rm -f *.o dijkstra