25 lines
408 B
Makefile
25 lines
408 B
Makefile
CFLAGS = -Wall -g
|
|
CC = gcc $(CFLAGS)
|
|
|
|
all : em_server_mq em_client_mq \
|
|
em_server_fifo em_client_fifo
|
|
|
|
em_server_mq : em_server_mq.c
|
|
$(CC) -o $@ $^
|
|
|
|
em_client_mq : em_client_mq.c
|
|
$(CC) -o $@ $^
|
|
|
|
em_server_fifo : em_server_fifo.c
|
|
$(CC) -o $@ $^
|
|
|
|
em_client_fifo : em_client_fifo.c
|
|
$(CC) -o $@ $^
|
|
|
|
clean :
|
|
rm -f em_server_mq em_client_mq \
|
|
em_server_fifo em_client_fifo \
|
|
*.fifo
|
|
|
|
|
|
|