bugfix: method offset in transfer_inline
[ps3freebsd_ps3gpu_test.git] / Makefile
blobbf6f7e08cbd456b20141271bc45a2c5373faeff4
2 CC=gcc
3 CFLAGS=-Wall -O2 -g
4 LDFLAGS=
6 all: cursor vram_dma gart_dma inline
8 cursor: util.o reset_gpu_state.o cursor.o
9 $(CC) $(LDFLAGS) -o $@ util.o reset_gpu_state.o cursor.o
11 vram_dma: util.o reset_gpu_state.o vram_dma.o
12 $(CC) $(LDFLAGS) -o $@ util.o reset_gpu_state.o vram_dma.o
14 gart_dma: util.o reset_gpu_state.o gart_dma.o
15 $(CC) $(LDFLAGS) -o $@ util.o reset_gpu_state.o gart_dma.o
17 inline: util.o reset_gpu_state.o inline.o
18 $(CC) $(LDFLAGS) -o $@ util.o reset_gpu_state.o inline.o
20 %.o: %.c
21 $(CC) $(CFLAGS) -c $<
23 clean:
24 rm -f util.o reset_gpu_state.o
25 rm -f cursor.o cursor
26 rm -f vram_dma.o vram_dma
27 rm -f gart_dma.o gart_dma
28 rm -f inline.o inline