shithub: scc

ref: 8ae4a3b0655c341ba34fe4a408fee54619d006bb
dir: /tests/libc/execute/Makefile/

View raw version
.POSIX:

ROOT   = ../../..
CFLAGS =
CC     = SCCPREFIX=$(ROOT) ./cc.sh

.c:
	$(CC) $(CFLAGS) -o $@ $<

all: tests-i386 tests-amd64

tests-i386:
	@SCCPREFIX=$(ROOT) CFLAGS='-a i386' ./chktest.sh libc-tests.lst

tests-amd64:
	@SCCPREFIX=$(ROOT) CFLAGS='-a amd64' ./chktest.sh libc-tests.lst

clean:
	rm -f *.o *core test.log `awk '{print $$1}' libc-tests.lst`