1
1
make all --print-data-base --no-builtin-variables --no-builtin-rules --question
2
- make: *** No rule to make target 'all'. Stop.
3
-
4
2
# GNU Make 4.3
5
3
# Built for x86_64-pc-linux-gnu
6
4
# Copyright (C) 1988-2020 Free Software Foundation, Inc.
7
5
# License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
8
6
# This is free software: you are free to change and redistribute it.
9
7
# There is NO WARRANTY, to the extent permitted by law.
8
+
10
9
11
- # Make data base, printed on Tue Apr 19 14:31:14 2022
10
+ # Make data base, printed on Wed Apr 20 13:18:24 2022
12
11
13
12
# Variables
14
13
15
14
# environment
16
- REMOTE_CONTAINERS_SOCKETS = ["/tmp/vscode-ssh-auth-40d47d8abfb0db64fcedc8d6964867988a81cf27.sock"]
15
+ REMOTE_CONTAINERS_SOCKETS = ["/tmp/vscode-ssh-auth-75f27e5190fe6156b75b37d4eef3103b94f90cd7.sock"]
16
+ # makefile (from 'Makefile', line 18)
17
+ LIBDIR = lib/libft/
17
18
# environment
18
19
LC_ALL = C
20
+ # makefile (from 'Makefile', line 21)
21
+ SRC = src/main.c src/tools/prompt.c
19
22
# environment
20
23
VSCODE_CWD = /vscode/vscode-server/bin/linux-x64/dfd34e8260c270da74b5c2d86d61aee4b6d56977
24
+ # makefile (from 'Makefile', line 17)
25
+ MINISHELL_HEADER = include/minishell.h
21
26
# default
22
27
MAKE_COMMAND := make
23
28
# automatic
24
29
@D = $(patsubst %/,%,$(dir $@))
30
+ # makefile (from 'Makefile', line 27)
31
+ OBJ_DIR = obj/
25
32
# environment
26
33
VSCODE_HANDLES_UNCAUGHT_ERRORS = true
27
34
# default
@@ -31,13 +38,17 @@ PWD = /workspaces/42minishell
31
38
# automatic
32
39
%D = $(patsubst %/,%,$(dir $%))
33
40
# environment
34
- HOSTNAME = ac11909923fe
41
+ HOSTNAME = 4109d4e56478
35
42
# automatic
36
43
^D = $(patsubst %/,%,$(dir $^))
37
44
# environment
38
45
VSCODE_LOG_STACK = false
39
46
# automatic
40
47
%F = $(notdir $%)
48
+ # makefile (from 'Makefile', line 19)
49
+ LIBFT = lib/libft/libft.a
50
+ # makefile (from 'Makefile', line 25)
51
+ CC_FLAG = -Wall -Wextra -Werror
41
52
# environment
42
53
LANG = C
43
54
# default
@@ -46,6 +57,8 @@ LANG = C
46
57
.INCLUDE_DIRS = /usr/local/include /usr/include /usr/include
47
58
# makefile
48
59
MAKEFLAGS = pqrR
60
+ # makefile (from 'Makefile', line 29)
61
+ OBJECTS_PREFIXED = $(addprefix $(OBJ_DIR), $(OBJS))
49
62
# makefile
50
63
CURDIR := /workspaces/42minishell
51
64
# environment
@@ -57,7 +70,7 @@ APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL = true
57
70
# environment
58
71
MFLAGS = -pqrR
59
72
# environment
60
- SSH_AUTH_SOCK = /tmp/vscode-ssh-auth-40d47d8abfb0db64fcedc8d6964867988a81cf27 .sock
73
+ SSH_AUTH_SOCK = /tmp/vscode-ssh-auth-75f27e5190fe6156b75b37d4eef3103b94f90cd7 .sock
61
74
# default
62
75
.SHELLFLAGS := -c
63
76
# automatic
@@ -78,6 +91,8 @@ VSCODE_VERBOSE_LOGGING = true
78
91
VSCODE_NLS_CONFIG = {"locale":"en","availableLanguages":{}}
79
92
# default
80
93
MAKE_HOST := x86_64-pc-linux-gnu
94
+ # makefile (from 'Makefile', line 28)
95
+ OBJS = $(SRC:.c=.o)
81
96
# makefile
82
97
SHELL = /bin/sh
83
98
# default
@@ -97,19 +112,21 @@ MAKEFILES :=
97
112
# environment
98
113
VSCODE_LOG_NATIVE = false
99
114
# environment
100
- REMOTE_CONTAINERS_IPC = /tmp/vscode-remote-containers-ipc-40d47d8abfb0db64fcedc8d6964867988a81cf27 .sock
115
+ REMOTE_CONTAINERS_IPC = /tmp/vscode-remote-containers-ipc-75f27e5190fe6156b75b37d4eef3103b94f90cd7 .sock
101
116
# environment
102
117
REMOTE_CONTAINERS = true
103
118
# automatic
104
119
?F = $(notdir $?)
120
+ # makefile (from 'Makefile', line 15)
121
+ NAME = minishell
105
122
# automatic
106
123
+F = $(notdir $+)
107
124
# 'override' directive
108
125
GNUMAKEFLAGS :=
109
126
# environment
110
127
BROWSER = /vscode/vscode-server/bin/linux-x64/dfd34e8260c270da74b5c2d86d61aee4b6d56977/bin/helpers/browser.sh
111
128
# makefile
112
- .DEFAULT_GOAL :=
129
+ .DEFAULT_GOAL := lib/libft/libft.a
113
130
# environment
114
131
DISPLAY = 192.168.4.222:0.0
115
132
# default
@@ -121,7 +138,7 @@ VSCODE_AGENT_FOLDER = /root/.vscode-server
121
138
# environment
122
139
_ = /bin/cat
123
140
# environment
124
- VSCODE_IPC_HOOK_CLI = /tmp/vscode-ipc-8ef2ca9a-e432-4fa1-bc10-1ccd25fd2586 .sock
141
+ VSCODE_IPC_HOOK_CLI = /tmp/vscode-ipc-b9c71211-86f7-4e94-ba54-b22057e6d7c9 .sock
125
142
# environment
126
143
VSCODE_AMD_ENTRYPOINT = vs/workbench/api/node/extensionHostProcess
127
144
# environment
@@ -134,59 +151,162 @@ HOME = /root
134
151
SUFFIXES :=
135
152
# default
136
153
.FEATURES := target-specific order-only second-expansion else-if shortest-stem undefine oneshell nocomment grouped-target extra-prereqs archives jobserver output-sync check-symlink load
154
+ # makefile (from 'Makefile', line 24)
155
+ CC = gcc -g
137
156
# variable set hash-table stats:
138
- # Load=61 /1024=6 %, Rehash=0, Collisions=2/90=2 %
157
+ # Load=71 /1024=7 %, Rehash=0, Collisions=4/117=3 %
139
158
140
159
# Pattern-specific Variable Values
141
160
142
161
# No pattern-specific variable values.
143
162
144
163
# Directories
145
164
146
- # . (device 117, inode 121325117): 11 files, no impossibilities.
165
+ # include (device 49, inode 2814749767538948): 3 files, no impossibilities so far.
166
+ # src (device 49, inode 3940649674449791): 3 files, no impossibilities so far.
167
+ # . (device 49, inode 9570149208337957): 13 files, no impossibilities.
147
168
148
- # 11 files, no impossibilities in 1 directories.
169
+ # 19 files, no impossibilities in 3 directories.
149
170
150
171
# Implicit Rules
151
172
152
- # No implicit rules.
173
+ obj/%.o: %.c include/minishell.h
174
+ # recipe to execute (from 'Makefile', line 32):
175
+ @mkdir -p $(OBJ_DIR)/src
176
+ @mkdir -p $(OBJ_DIR)/src/tools
177
+ @echo "Compiling $@"
178
+ @$(CC) -c $< -o $@
153
179
180
+ # 1 implicit rules, 0 (0.0%) terminal.
154
181
# Files
155
182
183
+ lib/libft/libft.a:
184
+ # Implicit rule search has not been done.
185
+ # Modification time never checked.
186
+ # File has not been updated.
187
+ # recipe to execute (from 'Makefile', line 38):
188
+ make -C $(LIBDIR)
189
+
190
+
191
+ minishell: obj/src/main.o obj/src/tools/prompt.o lib/libft/libft.a
192
+ # Implicit rule search has not been done.
193
+ # File does not exist.
194
+ # File has been updated.
195
+ # Needs to be updated (-q is set).
196
+ # variable set hash-table stats:
197
+ # Load=0/32=0%, Rehash=0, Collisions=0/6=0%
198
+ # recipe to execute (from 'Makefile', line 41):
199
+ @$(CC) $(CC_FLAG) $(OBJECTS_PREFIXED) $(LIBFT) -o $(NAME)
200
+ @echo "minishell Done !"
201
+
156
202
# Not a target:
157
203
Makefile:
158
204
# Implicit rule search has been done.
159
- # Last modified 2022-04-19 14:26:46.146540094
205
+ # Last modified 2022-04-20 12:36:21.4135147
160
206
# File has been updated.
161
207
# Successfully updated.
162
208
209
+ clean:
210
+ # Implicit rule search has not been done.
211
+ # Modification time never checked.
212
+ # File has not been updated.
213
+ # recipe to execute (from 'Makefile', line 48):
214
+ @echo "Cleaning"
215
+ @rm -rf $(OBJ_DIR)
216
+ @rm -rf $(NAME)
217
+
218
+ obj/src/main.o: src/main.c include/minishell.h
219
+ # Implicit rule search has been done.
220
+ # Implicit/static pattern stem: 'src/main'
221
+ # Last modified 2022-04-20 12:47:47.3938387
222
+ # File has been updated.
223
+ # Needs to be updated (-q is set).
224
+ # automatic
225
+ # @ := obj/src/main.o
226
+ # automatic
227
+ # * := src/main
228
+ # automatic
229
+ # < := src/main.c
230
+ # automatic
231
+ # + := src/main.c include/minishell.h
232
+ # automatic
233
+ # % :=
234
+ # automatic
235
+ # ^ := src/main.c include/minishell.h
236
+ # automatic
237
+ # ? := src/main.c
238
+ # automatic
239
+ # | :=
240
+ # variable set hash-table stats:
241
+ # Load=8/32=25%, Rehash=0, Collisions=2/17=12%
242
+ # recipe to execute (from 'Makefile', line 32):
243
+ @mkdir -p $(OBJ_DIR)/src
244
+ @mkdir -p $(OBJ_DIR)/src/tools
245
+ @echo "Compiling $@"
246
+ @$(CC) -c $< -o $@
247
+
163
248
# Not a target:
164
- .DEFAULT:
249
+ src/main.c:
250
+ # Implicit rule search has been done.
251
+ # Last modified 2022-04-20 13:14:51.1833065
252
+ # File has been updated.
253
+ # Successfully updated.
254
+
255
+ re: fclean all
165
256
# Implicit rule search has not been done.
166
257
# Modification time never checked.
167
258
# File has not been updated.
168
259
169
260
# Not a target:
170
- all:
261
+ .DEFAULT:
262
+ # Implicit rule search has not been done.
263
+ # Modification time never checked.
264
+ # File has not been updated.
265
+
266
+ all: minishell
171
267
# Command line target.
172
268
# Implicit rule search has been done.
173
269
# File does not exist.
270
+ # File has been updated.
271
+ # Needs to be updated (-q is set).
272
+ # variable set hash-table stats:
273
+ # Load=0/32=0%, Rehash=0, Collisions=0/6=0%
274
+
275
+ fclean:
276
+ # Implicit rule search has not been done.
277
+ # Modification time never checked.
278
+ # File has not been updated.
279
+ # recipe to execute (from 'Makefile', line 53):
280
+ rm -f $(NAME)
281
+
282
+ # Not a target:
283
+ include/minishell.h:
284
+ # Implicit rule search has been done.
285
+ # Last modified 2022-04-20 12:36:21.419523
286
+ # File has been updated.
287
+ # Successfully updated.
288
+
289
+ # Not a target:
290
+ obj/src/tools/prompt.o:
291
+ # Implicit rule search has not been done.
292
+ # Modification time never checked.
174
293
# File has not been updated.
175
294
176
295
# files hash-table stats:
177
- # Load=4 /1024=0 %, Rehash=0, Collisions=0/14 =0%
296
+ # Load=13 /1024=1 %, Rehash=0, Collisions=0/35 =0%
178
297
# VPATH Search Paths
179
298
180
299
# No 'vpath' search paths.
181
300
182
301
# No general ('VPATH' variable) search path.
183
302
184
- # strcache buffers: 1 (0) / strings = 16 / storage = 133 B / avg = 8 B
185
- # current buf: size = 8162 B / used = 133 B / count = 16 / avg = 8 B
303
+ # strcache buffers: 1 (0) / strings = 32 / storage = 305 B / avg = 9 B
304
+ # current buf: size = 8162 B / used = 305 B / count = 32 / avg = 9 B
186
305
187
- # strcache performance: lookups = 20 / hit rate = 20 %
306
+ # strcache performance: lookups = 56 / hit rate = 42 %
188
307
# hash-table stats:
189
- # Load=16/8192=0%, Rehash=0, Collisions=0/20=0%
190
- # Finished Make data base on Tue Apr 19 14:31:14 2022
308
+
309
+ # Load=32/8192=0%, Rehash=0, Collisions=1/56=2%
310
+ # Finished Make data base on Wed Apr 20 13:18:24 2022
191
311
192
312
0 commit comments