git.ucc.asn.au
/
tpg
/
opendispense2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use common regex functions in client
[tpg/opendispense2.git]
/
src
/
client
/
Makefile
diff --git
a/src/client/Makefile
b/src/client/Makefile
index
41c23cb
..
b70551e
100644
(file)
--- a/
src/client/Makefile
+++ b/
src/client/Makefile
@@
-8,6
+8,7
@@
LDFLAGS := -g -lncurses
BIN := ../../dispense
OBJ := main.o protocol.o menu.o
BIN := ../../dispense
OBJ := main.o protocol.o menu.o
+OBJ += doregex.o
DEPFILES := $(OBJ:%.o=%.d)
DEPFILES := $(OBJ:%.o=%.d)
@@
-31,4
+32,8
@@
$(BIN): $(OBJ)
$(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)
$(CC) -M -MT $@ -o $*.d $< $(CPPFLAGS)
$(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)
$(CC) -M -MT $@ -o $*.d $< $(CPPFLAGS)
+%.o: ../common/%.c
+ $(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)
+ $(CC) -M -MT $@ -o $*.d $< $(CPPFLAGS)
+
-include $(DEPFILES)
-include $(DEPFILES)
UCC
git Repository :: git.ucc.asn.au