aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/server/Makefile16
-rw-r--r--tests/server/Makefile.am10
2 files changed, 10 insertions, 16 deletions
diff --git a/tests/server/Makefile b/tests/server/Makefile
deleted file mode 100644
index 01ecfba02..000000000
--- a/tests/server/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-CC = gcc
-CFLAGS = -g -Wall -W
-
-.PHONY: all clean
-
-TARGET = sws
-OBJS= sws.o getpart.o
-
-all: $(TARGET)
-
-$(TARGET): $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $^
-
-clean:
- -rm -f $(OBJS) *~ $(TARGET) core logfile
-
diff --git a/tests/server/Makefile.am b/tests/server/Makefile.am
new file mode 100644
index 000000000..d4776c295
--- /dev/null
+++ b/tests/server/Makefile.am
@@ -0,0 +1,10 @@
+CFLAGS = -g -Wall -W
+
+AUTOMAKE_OPTIONS = foreign
+
+noinst_PROGRAMS = sws
+
+sws_SOURCES= sws.c getpart.c
+
+all:
+ echo "nothing to do here for make all"