aboutsummaryrefslogtreecommitdiff
path: root/src/or/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/Makefile')
-rw-r--r--src/or/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/or/Makefile b/src/or/Makefile
new file mode 100644
index 000000000..edf2398b4
--- /dev/null
+++ b/src/or/Makefile
@@ -0,0 +1,18 @@
+SRC=args.c buffers.c cell.c circuit.c command.c connection.c connection_app.c connection_op.c connection_or.c config.c main.c onion.c routers.c
+OBJ=${SRC:.c=.o}
+PROGS=or
+LIB=
+LIBS=
+INCLUDE = -I/usr/local/ssl/include
+
+CFLAGS= $(INCLUDE) -Wall -Wpointer-arith -ggdb
+LDFLAGS = $(LIB) $(LIBS)
+
+all: ${OBJ} ${PROGS}
+
+or: ${OBJ}
+ gcc -o or $(CFLAGS) *.o ../common/*.o -lcrypto
+
+clean:
+ rm -f *.o ${PROGS}
+