You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-7
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,15 @@ C and C++ information, cheatsheets and mini-projects.
2
2
3
3
Based on Linux tools, but portable code is clearly separated from non-portable. Thoroughly tested on Ubuntu 12.04. Ports and reproduction reports on other systems are welcome.
4
4
5
-
# Compile and run
5
+
# Most useful files
6
+
7
+
-[c.c](c.c): C cheatsheet.
8
+
-[cpp.cpp](main_cpp.cpp): C++ cheatsheet.
9
+
-`Makefile.*`: Makefiles that take care of a ton of possibilities.
10
+
-[opengl/](opengl/)
11
+
-[kde/](kde/)
12
+
13
+
# Quickstart
6
14
7
15
To compile and run each directory on Ubuntu 12.04 do:
8
16
@@ -21,15 +29,17 @@ run a given file by specifying the basename without extension:
21
29
make run=c
22
30
make run=cpp
23
31
32
+
The `=` sign is *not* optional!
33
+
24
34
Doing just `make run` in those cases will run the default file.
25
35
26
-
# Most useful files
36
+
To print the generated assembly code to the screen use:
27
37
28
-
-[c.c](c.c): C cheatsheet.
29
-
-[cpp.cpp](main_cpp.cpp): C++ cheatsheet.
30
-
-`Makefile.*`: Makefiles that take care of a ton of possibilities.
0 commit comments