Repository navigation
Expand file tree
/
Copy pathMakefile.wat
More file actions
109 lines (60 loc) · 2.42 KB
/
Copy pathMakefile.wat
File metadata and controls
109 lines (60 loc) · 2.42 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# A collection of m4 macros to make writing Makefiles easier.
# Recommended for a two-pass m4 system.
# Define the implicit rules
# A collection of m4 macros to make writing Makefiles easier.
# Recommended for a two-pass m4 system.
# Define the implicit rules
# Makefile for Watcom
M4=m4
CC=wcc386
LD=wlink
CFLAGS=-dLIBERROR_ENABLED -dLIBERROR_STREAM=stderr
TESTS=tests\resize.exe tests\foreach.exe tests\append.exe tests\filter.exe tests\init.exe tests\clear.exe tests\map.exe tests\find.exe tests\insert.exe tests\free.exe tests\pop.exe
all: $(TESTS) .symbolic
clean: .symbolic
rm -f $(TESTS)
tests\resize.obj: tests\resize.c
$(CC) tests\resize.c -fo=tests\resize.obj $(CFLAGS)
tests\foreach.obj: tests\foreach.c
$(CC) tests\foreach.c -fo=tests\foreach.obj $(CFLAGS)
tests\append.obj: tests\append.c
$(CC) tests\append.c -fo=tests\append.obj $(CFLAGS)
tests\filter.obj: tests\filter.c
$(CC) tests\filter.c -fo=tests\filter.obj $(CFLAGS)
tests\init.obj: tests\init.c
$(CC) tests\init.c -fo=tests\init.obj $(CFLAGS)
tests\clear.obj: tests\clear.c
$(CC) tests\clear.c -fo=tests\clear.obj $(CFLAGS)
tests\map.obj: tests\map.c
$(CC) tests\map.c -fo=tests\map.obj $(CFLAGS)
tests\find.obj: tests\find.c
$(CC) tests\find.c -fo=tests\find.obj $(CFLAGS)
tests\insert.obj: tests\insert.c
$(CC) tests\insert.c -fo=tests\insert.obj $(CFLAGS)
tests\free.obj: tests\free.c
$(CC) tests\free.c -fo=tests\free.obj $(CFLAGS)
tests\pop.obj: tests\pop.c
$(CC) tests\pop.c -fo=tests\pop.obj $(CFLAGS)
tests\resize.exe: tests\resize.obj
$(LD) FILE tests\resize.obj NAME tests\resize.exe
tests\foreach.exe: tests\foreach.obj
$(LD) FILE tests\foreach.obj NAME tests\foreach.exe
tests\append.exe: tests\append.obj
$(LD) FILE tests\append.obj NAME tests\append.exe
tests\filter.exe: tests\filter.obj
$(LD) FILE tests\filter.obj NAME tests\filter.exe
tests\init.exe: tests\init.obj
$(LD) FILE tests\init.obj NAME tests\init.exe
tests\clear.exe: tests\clear.obj
$(LD) FILE tests\clear.obj NAME tests\clear.exe
tests\map.exe: tests\map.obj
$(LD) FILE tests\map.obj NAME tests\map.exe
tests\find.exe: tests\find.obj
$(LD) FILE tests\find.obj NAME tests\find.exe
tests\insert.exe: tests\insert.obj
$(LD) FILE tests\insert.obj NAME tests\insert.exe
tests\free.exe: tests\free.obj
$(LD) FILE tests\free.obj NAME tests\free.exe
tests\pop.exe: tests\pop.obj
$(LD) FILE tests\pop.obj NAME tests\pop.exe
.SUFFIXES: