aboutsummaryrefslogtreecommitdiff
path: root/tests/server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server/Makefile')
-rw-r--r--tests/server/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/server/Makefile b/tests/server/Makefile
new file mode 100644
index 000000000..64b11d42e
--- /dev/null
+++ b/tests/server/Makefile
@@ -0,0 +1,18 @@
+CC = gcc
+OPTIM = -O2
+DEF = -DDEFAULT_PORT=7676
+CFLAGS = -g -Wall $(OPTIM) $(DEF)
+
+.PHONY: all clean
+
+TARGET = sws
+OBJS= sws.o getpart.o
+
+all: $(TARGET)
+
+$(TARGET): $(OBJS)
+ $(CC) $(LDFLAGS) -o $@ $^
+
+clean:
+ -rm -f $(OBJS) *~ $(TARGET) core logfile
+