0
0
mirror of https://github.com/darkk/redsocks.git synced 2025-08-27 20:25:30 +00:00
redsocks/Makefile
darkk 20d7930ecf Initial revision.
git-svn-id: file:///home/darkk/svnroot/redsocks@1 f324f89c-ff31-0410-8eac-c7e7ec545cec
2007-06-03 12:30:38 +00:00

21 lines
291 B
Makefile

CFLAGS=-std=gnu99 -Wall -g
.PHONY: all
redsocks: parser.o main.o redsocks.o log.o http-connect.o socks4.o socks5.o base.o
$(CC) $+ -levent -o $@
tags:
ctags -R
.PHONY: clean distclean
clean:
rm -f redsocks *.o
distclean: clean
rm -f tags
%.o: %.c
$(CC) $(CFLAGS) -c $*.c -o $*.o