csci4061/lab09-code/Makefile

26 lines
408 B
Makefile
Raw Permalink Normal View History

2018-01-29 23:28:37 +00:00
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