File: 014_fix_c%2B%2B_makefile.patch

package info (click to toggle)
brickos 0.9.0.dfsg-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,068 kB
  • sloc: ansic: 9,139; cpp: 860; asm: 693; makefile: 656; sh: 134; perl: 61
file content (32 lines) | stat: -rw-r--r-- 693 bytes parent folder | download
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
From: Nicolas Schodet <nico@ni.fr.eu.org>
Date: Tue, 25 Mar 2025 19:51:27 +0100
Subject: Fix demo/c++ Makefile

First target is the default one, there is one target in the included
Makefiles.

Forwarded: no
---
 demo/c++/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/demo/c++/Makefile b/demo/c++/Makefile
index 2674b2d..5ff1171 100644
--- a/demo/c++/Makefile
+++ b/demo/c++/Makefile
@@ -20,13 +20,11 @@ PROGRAMS = \
 # extra dynamic sources
 DOBJECTS= 
 
+all:: $(PROGRAMS)
+
 include ../../Makefile.common
 include ../../Makefile.user
 
-
-all:: $(PROGRAMS)
-	@# nothing to do here but do it silently
-
 .depend: *.[cC]
 	$(MAKEDEPEND) *.[cC] > .depend