Thanks to visit codestin.com Credit goes to github.com
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 edfeddc commit fb297daCopy full SHA for fb297da
snippets/make.snippets
@@ -4,22 +4,22 @@ snippet base
4
CC = gcc
5
CFLAGS = -g -Wall
6
7
- all : $1
+ all: $1
8
9
- %.o : %.c
+ %.o: %.c
10
$(CC) $(CFLAGS) -c -o $@ $<
11
12
- ${1:out} : $1.o
+ ${1:out}: $1.o
13
$(CC) $(CFLAGS) -o $@ $+
14
15
- clean :
+ clean:
16
rm -f *.o core.*
17
18
- mrproper : clean
+ mrproper: clean
19
rm -f $1
20
# add
21
snippet add
22
23
24
# print
25
snippet print
0 commit comments