seb15753

truekern/Makefile

Jun 24th, 2014
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.18 KB | None | 0 0
  1. OBJ=kernel
  2. CC=gcc -Wall
  3.  
  4. all: $(OBJ)
  5.  
  6. kernel: kernel.o lib.o overhead.o
  7.     ld --oformat binary -Ttext 0x00400200 $^ -o $@
  8.  
  9. .o: .c
  10.     $(CC) -O2 -c $^
  11.  
  12. clean:
  13.     rm -f $(OBJ) *.o
Advertisement
Add Comment
Please, Sign In to add comment