We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 999aa9d commit aba3265Copy full SHA for aba3265
first.c
@@ -0,0 +1,5 @@
1
+#include <stdio.h>
2
+
3
+int main() {
4
+ printf("Hello!");
5
+}
makefile
@@ -0,0 +1,19 @@
+CC = c99
+CFLAGS = -pedantic -Wall -Wextra -g
+all: first first.o first.s first.E
6
+first: first.o
7
+ $(CC) $(CFLAGS) -o first first.o
8
9
+first.o: first.c
10
+ $(CC) $(CFLAGS) -c first.c
11
12
+first.s: first.c
13
+ $(CC) $(CFLAGS) -S first.c
14
15
+first.E: first.c
16
+ $(CC) $(CFLAGS) -o first.E -E first.c
17
18
+clean:
19
+ rm *.o *.s *.E first
0 commit comments