diff options
author | Omar Polo <op@omarpolo.com> | 2021-12-29 18:01:08 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-12-29 18:01:08 +0000 |
commit | 5c7abf01515677804eeb2cf083e33e4ddd742caf (patch) | |
tree | b9ba79695a9b3cf735515e9b5a171a2b9c3f808d /Makefile | |
parent | fe903d30e76e89e5242c517dba13f074e645a4ad (diff) |
reimplement gg
This is a better version of gg. Initially it grew with flags directly
needed to the specific test cases I wanted to write, so it's ugly to use
but handy for tests.
This is a new and re-thought implementation that it is (hopefully)
easier to use both and "curl-like for gemini" but also for scripts and
tests cases.
One completely new feature is the proxying support with -P to send the
request to the given host.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ TESTS= .PHONY: all static clean regress install -all: Makefile.local gmid TAGS compile_flags.txt +all: Makefile.local gmid gg TAGS compile_flags.txt Makefile.local: configure ./configure @@ -21,6 +21,9 @@ OBJS = ${SRCS:.c=.o} y.tab.o ${COMPAT} gmid: ${OBJS} ${CC} ${OBJS} -o gmid ${LDFLAGS} +gg: gg.o iri.o utf8.o ${COMPAT} + ${CC} gg.o iri.o utf8.o ${COMPAT} -o $@ ${LDFLAGS} + static: ${OBJS} ${CC} ${OBJS} -o gmid ${LDFLAGS} ${STATIC} |