cosmopolitan/build/online.mk
Justine Tunney 2d64b9994b Avoid creating temporary output files
This change also removes the futimens() call on the Landlock Make output
file workaround, since it caused problems with commands like fixupobj
which modify-in-place. It turns out if a file is opened for writing and
then no writes actually occur, then the modified time doesn't change.
2022-08-10 22:31:16 -07:00

30 lines
949 B
Makefile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐
#───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘
#
# SYNOPSIS
#
# Cosmopolitan Online Testing
#
# OVERVIEW
#
# make test HOSTS="rhel5 windows mac freebsd openbsd wsl"
#
# DESCRIPTION
#
# This code deploys and spawns testing infrastructure to a fleet of
# virtual machines running the various supported platforms. This is
# super trivial since αcτµαlly pδrταblε εxεcµταblε is an autonomous
# format requiring one simple file copy. Latencies are outstanding.
# Configuration is trivial using /etc/hosts and ~/.ssh/config.
#
# SEE ALSO
#
# - tool/build/runit.c
# - tool/build/runitd.c
.PRECIOUS: o/$(MODE)/%.com.ok
o/$(MODE)/%.com.ok: \
o/$(MODE)/tool/build/runit.com \
o/$(MODE)/tool/build/runitd.com \
o/$(MODE)/%.com
@$(COMPILE) -wATEST -tT$@ $^ $(HOSTS)