git.ucc.asn.au
/
tpg
/
opendispense2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Server - Add error message if a bad baud rate is chosen
[tpg/opendispense2.git]
/
src
/
cokebank_stub
/
Makefile
1
2
BIN := ../../cokebank.so
3
OBJ := main.o
4
5
CPPFLAGS :=
6
CFLAGS := -Wall -Werror -g -fPIC
7
LDFLAGS := -shared -Wl,-soname,cokebank.so
8
9
.PHONY: all clean
10
11
all: $(BIN)
12
13
clean:
14
$(RM) $(BIN) $(OBJ)
15
16
$(BIN): $(OBJ)
17
$(CC) $(LDFLAGS) -o $(BIN) $(OBJ)
18
19
%.o: %.c
20
$(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)
UCC
git Repository :: git.ucc.asn.au