This website works better with JavaScript.
Home
Help
Sign In
tmeissner
/
learning-by-doing
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add c11 std to gcc options
master
T. Meissner
9 years ago
parent
7046a29fc4
commit
b5defb8e32
4 changed files
with
4 additions
and
5 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
c_primer_plus/chapter03/Makefile
+1
-1
c_primer_plus/chapter04/Makefile
+1
-1
c_primer_plus/chapter05/Makefile
+1
-1
c_primer_plus/chapter06/Makefile
+ 1
- 2
c_primer_plus/chapter03/Makefile
View File
@ -1,9 +1,8 @@
SRC
:=
$(
shell ls *.c
)
SRC
:=
$(
shell ls *.c
)
%
:
%.
c
%
:
%.
c
gcc -Wall -Wextra
$@
.c -o
$@
gcc -
std
=
c11 -
Wall -Wextra
$@
.c -o
$@
.PHONY
:
clean
.PHONY
:
clean
+ 1
- 1
c_primer_plus/chapter04/Makefile
View File
@ -2,7 +2,7 @@ SRC := $(shell ls *.c)
%
:
%.
c
%
:
%.
c
gcc -Wall -Wextra
$@
.c -o
$@
gcc -
std
=
c11 -
Wall -Wextra
$@
.c -o
$@
.PHONY
:
clean
.PHONY
:
clean
+ 1
- 1
c_primer_plus/chapter05/Makefile
View File
@ -2,7 +2,7 @@ SRC := $(shell ls *.c)
%
:
%.
c
%
:
%.
c
gcc -Wall -Wextra
$@
.c -o
$@
gcc -
std
=
c11 -
Wall -Wextra
$@
.c -o
$@
.PHONY
:
clean
.PHONY
:
clean
+ 1
- 1
c_primer_plus/chapter06/Makefile
View File
@ -2,7 +2,7 @@ SRC := $(shell ls *.c)
%
:
%.
c
%
:
%.
c
gcc -Wall -Wextra
$@
.c -o
$@
gcc -
std
=
c11 -
Wall -Wextra
$@
.c -o
$@
.PHONY
:
clean
.PHONY
:
clean
Write
Preview
Loading…
Cancel
Save