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
moved source files in sub dirs for chapters; split Makefile for chapter10 & chapter11 sources
master
T. Meissner
10 years ago
parent
91bdbb65e2
commit
055bad853d
10 changed files
with
22 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+22
-0
21st_century_c/chapter10/Makefile
+0
-0
21st_century_c/chapter10/boxes.c
+0
-0
21st_century_c/chapter10/process_dir.c
+0
-0
21st_century_c/chapter10/process_dir.h
+0
-0
21st_century_c/chapter10/show_tree.c
+0
-0
21st_century_c/chapter11/Makefile
+0
-0
21st_century_c/chapter11/complex.c
+0
-0
21st_century_c/chapter11/cplx.h
+0
-0
21st_century_c/chapter11/seamlessone.c
+0
-0
21st_century_c/chapter11/simple_cplx.c
+ 22
- 0
21st_century_c/chapter10/Makefile
View File
@ -0,0 +1,22 @@
CFLAGS
=
-Wall -O3 --std
=
c11
boxes
:
boxes
.
c
$(
CC
)
$(
CFLAGS
)
$@
.c -o
$@
show_tree
:
process_dir
.
h
process_dir
.
c
show_tree
.
c
$(
CC
)
$(
CFLAGS
)
process_dir.c
$@
.c -o
$@
.PHONY
:
all
all
:
boxes
show_tree
.PHONY
:
check
check
:
*.
h
*.
c
cppcheck --enable
=
warning --enable
=
style *.c
.PHONY
:
clean
clean
:
rm -f boxes
rm -f show_tree
rm -rf *.dSYM
21st_century_c/boxes.c → 21st_century_c/chapter10/boxes.c
View File
21st_century_c/process_dir.c → 21st_century_c/chapter10/process_dir.c
View File
21st_century_c/process_dir.h → 21st_century_c/chapter10/process_dir.h
View File
21st_century_c/show_tree.c → 21st_century_c/chapter10/show_tree.c
View File
21st_century_c/Makefile → 21st_century_c/chapter11/Makefile
View File
21st_century_c/complex.c → 21st_century_c/chapter11/complex.c
View File
21st_century_c/cplx.h → 21st_century_c/chapter11/cplx.h
View File
21st_century_c/seamlessone.c → 21st_century_c/chapter11/seamlessone.c
View File
21st_century_c/simple_cplx.c → 21st_century_c/chapter11/simple_cplx.c
View File
Write
Preview
Loading…
Cancel
Save