Skip to content
Snippets Groups Projects
Commit c0553fc1 authored by John Hodge's avatar John Hodge
Browse files

Merge pull request #2 from mtearle/master

Add client and overall install target
parents 0a6d77bf 7b8c4e61
No related merge requests found
.PHONY: all clean
.PHONY: all clean install
all:
@make -C cokebank_sqlite all
......@@ -13,3 +13,7 @@ clean:
@make -C server clean
@make -C client clean
install:
@make -C server install
@make -C client install
# OpenDispense 2
#
INSTALLDIR := /usr/local/opendispense2
CFLAGS := -Wall -Werror -g -std=gnu99
LDFLAGS := -g -lncurses
# -lssl
......@@ -15,6 +18,10 @@ all: $(BIN)
clean:
$(RM) $(BIN) $(OBJ) $(DEPFILES)
install: $(BIN)
mkdir -p $(INSTALLDIR)
cp $(BIN) $(INSTALLDIR)
$(BIN): $(OBJ)
$(CC) -o $(BIN) $(OBJ) $(LDFLAGS)
# chown root $(BIN)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment