You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
430 B
Makefile

#
# Nmake file for libmseed tests - MS Visual C/C++
# Use 'nmake -f Makefile.win'
INCS = /I. /I..
LIBS = ..\libmseed.lib
OPTS = /D_CRT_SECURE_NO_WARNINGS
TEST_RUNNER = test-runner.exe
test: $(TEST_RUNNER)
$(TEST_RUNNER)
$(TEST_RUNNER): test-*.obj
link $** $(LIBS) /nologo /OUT:$@
.c.obj:
$(CC) $(CFLAGS) $(INCS) $(OPTS) /nologo /c $<
# Clean-up directives
clean:
-del a.out core *.o *.obj *% *~ $(TEST_RUNNER) testdata-*