setos

拙OS
Log | Files | Refs | LICENSE

Makefile (204B)


      1 CC = gcc
      2 CFLAGS = -I ../../include -nostdlib -fpic -mno-red-zone -Wall -g \
      3 	-ffreestanding -fno-builtin
      4 SRC = strcpy.c
      5 
      6 all: libc.o
      7 
      8 libc.o: $(SRC)
      9 	$(CC) $(CFLAGS) -c -o $@ $(SRC)
     10 
     11 clean:
     12 	rm -f libc.o