2011-04-24 08:36:56 +03:00
|
|
|
#CC=mipsel-openwrt-linux-uclibc-gcc
|
|
|
|
CC=mipsel-linux-gcc
|
|
|
|
|
|
|
|
CFLAGS=-Wall -g -O9 -march=mips32
|
2011-04-28 02:59:29 +03:00
|
|
|
OBJS=ubb-vga2.o grabfb.o
|
2011-04-24 08:36:56 +03:00
|
|
|
|
|
|
|
.PHONY: all asm sch clean spotless
|
|
|
|
|
2011-04-27 23:21:30 +03:00
|
|
|
all: ubb-vga ubb-vga2
|
2011-04-24 08:36:56 +03:00
|
|
|
|
2011-04-28 02:59:29 +03:00
|
|
|
ubb-vga2: $(OBJS)
|
|
|
|
|
2011-04-24 08:56:56 +03:00
|
|
|
asm: ubb-vga.c
|
2011-04-24 08:36:56 +03:00
|
|
|
$(CC) $(CFLAGS) -S $<
|
|
|
|
|
|
|
|
sch:
|
|
|
|
eeschema `pwd`/ubb-vga.sch
|
|
|
|
|
|
|
|
clean:
|
2011-04-28 02:59:29 +03:00
|
|
|
rm -f $(OBJS)
|
2011-04-24 08:36:56 +03:00
|
|
|
|
|
|
|
spotless: clean
|
2011-04-28 02:59:29 +03:00
|
|
|
rm -f ubb-vga ubb-vga2
|