File: MRULES

package info (click to toggle)
tftp-hpa 5.2+20150808-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 536 kB
  • ctags: 395
  • sloc: ansic: 4,126; sh: 334; makefile: 180
file content (22 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Standard compilation rules (don't use make builtins)

.SUFFIXES: .c .cc .o .s .S .i

.c.o:
	$(CC) $(CFLAGS) -c $<

.c.s:
	$(CC) $(CFLAGS) -S -o $@ $<

.c.i:
	$(CC) $(CFLAGS) -E -o $@ $<

.cc.o:
	$(CXX) $(CXXFLAGS) -c $<

.cc.s:
	$(CXX) $(CXXFLAGS) -S -o $@ $<

.cc.i:
	$(CXX) $(CXXFLAGS) -E -o $@ $<