Commit 01cb2c20 authored by Christian Fibich's avatar Christian Fibich
Browse files

Corrected Makefile. Thanks Paul Gules.

parent c8fcc5d2
...@@ -9,13 +9,13 @@ strings.o : common/zmq_strings.c ...@@ -9,13 +9,13 @@ strings.o : common/zmq_strings.c
$(CC) $(CFLAGS) -c $(LDFLAGS) common/zmq_strings.c -o strings.o $(CC) $(CFLAGS) -c $(LDFLAGS) common/zmq_strings.c -o strings.o
zmq_chat_printer: strings.o printer/printer.c common/messages.h zmq_chat_printer: strings.o printer/printer.c common/messages.h
$(CC) $(CFLAGS) $(LDFLAGS) strings.o printer/printer.c -o zmq_chat_printer $(CC) $(CFLAGS) strings.o printer/printer.c $(LDFLAGS) -o zmq_chat_printer
zmq_chat_poster: strings.o poster/poster.c common/messages.h zmq_chat_poster: strings.o poster/poster.c common/messages.h
$(CC) $(CFLAGS) $(LDFLAGS) strings.o poster/poster.c -o zmq_chat_poster $(CC) $(CFLAGS) strings.o poster/poster.c $(LDFLAGS) -o zmq_chat_poster
zmq_chat_server: strings.o server/server.c common/messages.h zmq_chat_server: strings.o server/server.c common/messages.h
$(CC) $(CFLAGS) $(LDFLAGS) strings.o server/server.c -o zmq_chat_server $(CC) $(CFLAGS) strings.o server/server.c $(LDFLAGS) -o zmq_chat_server
clean: clean:
rm -f zmq_chat_printer zmq_chat_poster zmq_chat_server strings.o rm -f zmq_chat_printer zmq_chat_poster zmq_chat_server strings.o
\ 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