CFLAGS := -Wall -Werror -g
LDFLAGS := -g -lncurses
+# -lssl
BIN := ../../dispense
OBJ := main.o
all: $(BIN)
clean:
- $(RM) $(BIN) $(OBJ)
+ $(RM) $(BIN) $(OBJ) $(DEPFILES)
$(BIN): $(OBJ)
$(CC) -o $(BIN) $(OBJ) $(LDFLAGS)
+# chown root $(BIN)
+# chmod u+s $(BIN)
%.o: %.c
$(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)