diff options
author | greg@kroah.com <greg@kroah.com> | 2004-02-11 18:34:28 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:32:26 -0700 |
commit | da92f46b9e86643e70861bb705453f81aef5618d (patch) | |
tree | 637fc10d9876cb3024584fbaeb89cb0f2f07d930 /klibc/MRULES | |
parent | 01504bd96b6e7cb6ad1350d6d0a0c6a1300409b8 (diff) |
[PATCH] finish syncing up with klibc
Diffstat (limited to 'klibc/MRULES')
-rw-r--r-- | klibc/MRULES | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/klibc/MRULES b/klibc/MRULES new file mode 100644 index 0000000000..8a8831c348 --- /dev/null +++ b/klibc/MRULES @@ -0,0 +1,41 @@ +# -*- 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 $@ $< + + |