Makefile - libc-testsuite - correctness and quality tests for libc implementations

correctness and quality tests for libc implementations
summary refs log tree commit diff
path: root/Makefile
blob: 70c92768a496d39af92480abb430f46682cc0af6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

SRCS = $(wildcard *.c)
OBJS = $(SRCS:.c=.o)
CFLAGS = -std=c99 -Os -fno-builtin -D_XOPEN_SOURCE=700
#LDFLAGS = -static
LIBS = -lrt -lpthread -lrt -lm
-include config.mak
all: testsuite
testsuite: $(OBJS)
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
%.o: %.c
	$(CC) $(CFLAGS) -o $@ -c $<
clean:
	rm -f $(OBJS) testsuite
relink:
	rm -f testsuite
	make all
test: testsuite
	./testsuite
retest: relink test
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月03日 11:10:20 +0000

AltStyle によって変換されたページ (->オリジナル) /