mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
42 lines
644 B
Plaintext
42 lines
644 B
Plaintext
|
# -*- makefile -*-
|
||
|
#
|
||
|
# Standard pattern rules
|
||
|
#
|
||
|
|
||
|
.SUFFIXES: .c .o .a .so .lo .i .S .s .ls .ss .lss
|
||
|
|
||
|
.c.o:
|
||
|
$(CC) $(CFLAGS) -c -o $@ $<
|
||
|
|
||
|
.c.i:
|
||
|
$(CC) $(CFLAGS) -E -o $@ $<
|
||
|
|
||
|
.c.s:
|
||
|
$(CC) $(CFLAGS) -S -o $@ $<
|
||
|
|
||
|
.S.o:
|
||
|
$(CC) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
|
||
|
|
||
|
.S.s:
|
||
|
$(CC) $(CFLAGS) -D__ASSEMBLY__ -E -o $@ $<
|
||
|
|
||
|
.S.lo:
|
||
|
$(CC) $(CFLAGS) $(SOFLAGS) -D__ASSEMBLY__ -c -o $@ $<
|
||
|
|
||
|
.S.ls:
|
||
|
$(CC) $(CFLAGS) $(SOFLAGS) -D__ASSEMBLY__ -E -o $@ $<
|
||
|
|
||
|
.s.o:
|
||
|
$(CC) $(CFLAGS) -x assembler -c -o $@ $<
|
||
|
|
||
|
.ls.lo:
|
||
|
$(CC) $(CFLAGS) $(SOFLAGS) -x assembler -c -o $@ $<
|
||
|
|
||
|
.c.lo:
|
||
|
$(CC) $(CFLAGS) $(SOFLAGS) -c -o $@ $<
|
||
|
|
||
|
.c.ls:
|
||
|
$(CC) $(CFLAGS) $(SOFLAGS) -S -o $@ $<
|
||
|
|
||
|
|