ossp-pkg/xds/regression-tests/Makefile 1.1 -> 1.2
--- Makefile 2001/07/04 15:09:55 1.1
+++ Makefile 2001/07/04 15:55:06 1.2
@@ -2,27 +2,27 @@
CC = gcc
-WARNFLAGS = -Wall -ansi -pedantic
+WARNFLAGS = -Wall -ansi -pedantic -Werror
OPTFLAGS = -O3 -pipe
CPPFLAGS =
CFLAGS =
-LDFLAGS =
+LDFLAGS = -L..
-TESTS = test1.exe
+TESTS = core.exe
.SUFFIXES:
.SUFFIXES: .c .exe
.c.exe:
- $(CC) $(CPPFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $<
+ $(CC) $(CPPFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< -lxds
.cpp.exe:
- $(CXX) $(CPPFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $<
+ $(CXX) $(CPPFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $< -lxds
all: $(TESTS)
check: all
- ./.run-tests *.exe
+ @./.run-tests $(TESTS)
clean::
rm -f $(TESTS) *.log
|
|