mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
42 lines
644 B
Makefile
42 lines
644 B
Makefile
# -*- 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 $@ $<
|
|
|
|
|