csci4061/lab09-code/Makefile
Michael Zhang 041f660ccd
f
2018-01-29 17:28:37 -06:00

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