Commit d7beef40 authored by Chad Barb's avatar Chad Barb
Browse files

Separate LIBS line for client(Fromage) and server(Frisbee)

parent bb484b90
......@@ -3,13 +3,14 @@ all: frisbee fromage
CFROMAGEFLAGS = -O -g -static -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads
CFRISBEEFLAGS = -O -g
LIBS = -lz -L/usr/local/lib -llthread -llgcc_r
FROMAGELIBS = -lz -L/usr/local/lib -llthread -llgcc_r
FRISBEELIBS = -L/usr/local/lib
fromage: fromage.o f_chunker.o f_frisbee.o f_network.o f_timer.o
$(CC) $(CFROMAGEFLAGS) fromage.o f_chunker.o f_frisbee.o f_network.o f_timer.o $(LIBS) -o fromage
$(CC) $(CFROMAGEFLAGS) fromage.o f_chunker.o f_frisbee.o f_network.o f_timer.o $(FROMAGELIBS) -o fromage
frisbee: server.o f_network.o f_timer.o
$(CC) $(CFRISBEEFLAGS) server.o f_network.o f_timer.o $(LIBS) -o frisbee
$(CC) $(CFRISBEEFLAGS) server.o f_network.o f_timer.o $(FRISBEELIBS) -o frisbee
tidy:
-/bin/rm -f *.o
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment