mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-23 07:29:19 +02:00
Signed-off-by: NRK <nrk@disroot.org> Closes: https://github.com/gentoo/gentoo/pull/40810 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
22 lines
587 B
Diff
22 lines
587 B
Diff
Bug: https://bugs.gentoo.org/933867
|
|
|
|
diff --git a/Makefile-Linux-GCC-64.mak b/Makefile-Linux-GCC-64.mak
|
|
index 9d4431a..e4fb10f 100644
|
|
--- a/Makefile-Linux-GCC-64.mak
|
|
+++ b/Makefile-Linux-GCC-64.mak
|
|
@@ -31,13 +31,13 @@ include gccmod.inc
|
|
|
|
#.c.o:
|
|
# $(CC) -c $(inc_dirs) $(c_flags) -o $(OUTD)/$*.o $<
|
|
-$(OUTD)/%.o: %.c
|
|
+$(OUTD)/%.o: %.c | $(OUTD)
|
|
$(CC) -D __UNIX__ -c $(inc_dirs) $(c_flags) $(CFLAGS) $(CPPFLAGS) -o $(OUTD)/$*.o $<
|
|
|
|
all: $(OUTD) $(OUTD)/$(TARGET1)
|
|
|
|
$(OUTD):
|
|
- mkdir $(OUTD)
|
|
+ mkdir -p $(OUTD)
|
|
|
|
$(OUTD)/$(TARGET1) : $(OUTD)/main.o $(proj_obj)
|
|
ifeq ($(DEBUG),0)
|