kvm tools, setup: Create private directory
[linux-2.6/next.git] / tools / kvm / tests / pit / Makefile
blob2fae9b2aec2faa05307e0af874c0d98ede7a6bdd
1 NAME := tick
3 BIN := $(NAME).bin
4 ELF := $(NAME).elf
5 OBJ := $(NAME).o
7 all: $(BIN)
9 $(BIN): $(ELF)
10 objcopy -O binary $< $@
12 $(ELF): $(OBJ)
13 ld -Ttext=0x00 -nostdlib -static $< -o $@
15 %.o: %.S
16 gcc -nostdinc -c $< -o $@
18 clean:
19 rm -f $(BIN) $(ELF) $(OBJ)
20 .PHONY: clean