git.ucc.asn.au
/
tpg
/
opendispense2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Committing local changes
[tpg/opendispense2.git]
/
src
/
client
/
Makefile
1
2
CFLAGS := -Wall -Werror -g
3
LDFLAGS := -g -lncurses -lssl
4
5
BIN := ../../dispense
6
OBJ := main.o
7
8
DEPFILES := $(OBJ:%.o=%.d)
9
10
.PHONY: all clean
11
12
all: $(BIN)
13
14
clean:
15
$(RM) $(BIN) $(OBJ)
16
17
$(BIN): $(OBJ)
18
$(CC) -o $(BIN) $(OBJ) $(LDFLAGS)
19
20
%.o: %.c
21
$(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)
22
$(CC) -M -MT $@ -o $*.d $< $(CPPFLAGS)
23
24
-include $(DEPFILES)
UCC
git Repository :: git.ucc.asn.au