4 OBJ := main.o server.o logging.o
5 OBJ += dispense.o itemdb.o
6 OBJ += handler_coke.o handler_snack.o handler_door.o
9 DEPFILES := $(OBJ:%.o=%.d)
11 LINKFLAGS := -g ../../cokebank.so -lutil -Wl,-rpath,. -Wl,-rpath,/usr/local/sbin
13 CFLAGS := -Wall -Wextra -Werror -g
23 $(CC) -o $(BIN) $(LINKFLAGS) $(OBJ)
26 $(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)