aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-07-22 15:47:02 +0000
committerOmar Polo <op@omarpolo.com>2023-07-22 15:47:02 +0000
commit2ff1e2a9237514d5d473b2b3562ec767542b55bc (patch)
tree50409b81b7e123b9885de0dd54d8b32387dc95d1 /Makefile
parent81bab00246906b389f6e7d162196eb4a36b848c9 (diff)
add titan(1) -- a draft titan client
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4829a00..00979d4 100644
--- a/Makefile
+++ b/Makefile
@@ -40,14 +40,17 @@ GG_SRCS = gg.c iri.c utf8.c
GG_OBJS = ${GG_SRCS:.c=.o} ${COBJS}
+TITAN_SRCS = titan.c iri.c utf8.c
+TITAN_OBJS = ${TITAN_SRCS:.c=.o} ${COBJS}
+
SRCS = gmid.h log.h parse.y proc.h \
- ${GMID_SRCS} ${GE_SRCS} ${GG_SRCS}
+ ${GMID_SRCS} ${GE_SRCS} ${GG_SRCS} ${TITAN_SRCS}
DISTNAME = gmid-${VERSION}
# -- public targets --
-all: config.mk gmid ge gg
+all: config.mk gmid ge gg titan
.PHONY: all tags clean cleanall test regress install
config.mk config.h: configure
@@ -104,6 +107,9 @@ ge: ${GE_OBJS}
gg: ${GG_OBJS}
${CC} ${GG_OBJS} -o $@ ${LIBS} ${LDFLAGS}
+titan: ${TITAN_OBJS}
+ ${CC} ${TITAN_OBJS} -o $@ ${LIBS} ${LDFLAGS}
+
y.tab.c: parse.y
${YACC} -b y parse.y