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 05:31:39 +03:00
|
|
|
LDFLAGS=-lm
|
2011-04-28 06:38:13 +03:00
|
|
|
OBJS=ubb-vga2.o grabfb.o tstimg.o ppm.o ppmimg.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
|