podbay/barcode_service/Makefile

14 lines
203 B
Makefile
Raw Normal View History

2018-01-26 02:18:56 +00:00
CC=gcc
CFLAGS=-O2 -Wall -Wextra
LDFLAGS=-lzmq -lczmq
EXE_NAME=barcode_service
all: $(EXE_NAME)
$(EXE_NAME): barcode_service.c
$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
clean:
rm -f *.o
rm -f $(EXE_NAME)