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

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

parent bb484b90
...@@ -3,16 +3,17 @@ all: frisbee fromage ...@@ -3,16 +3,17 @@ all: frisbee fromage
CFROMAGEFLAGS = -O -g -static -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads CFROMAGEFLAGS = -O -g -static -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads
CFRISBEEFLAGS = -O -g 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 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 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: tidy:
-/bin/rm -f *.o -/bin/rm -f *.o
clean: tidy clean: tidy
-/bin/rm fromage frisbee -/bin/rm fromage frisbee
\ No newline at end of file
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