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
|
ubb-vga2: non-contiguous allocation of frame buffer memory
- ubb-vga.h (calloc_phys_vec), physmem.c: non-contiguous memory allocator
(for now, without really considering any mapping to physical memory)
- Makefile (OBJS): added physmem.o
- ubb-vga.h (grabfb), grabfb.c (grabfb): API change for non-contiguous
frame buffer
- ubb-vga.h (ppmimg), ppmimg.c (convert, ppmimg): API change for
non-contiguous frame buffer
- ubb-vga.h (tstimg), tstimg.c (pixel, color_bars, grill, grid, sides,
dot, line45, arc, printc, text, ctext, tstimg): API change for
non-contiguous frame buffer
- tstimg.c (tstimg): we no longer need to clear the frame buffer
- ubb-vga.c (frame, session, main): use a vector of line buffers instead
of a contiguous frame buffer
2011-04-29 19:04:02 +03:00
|
|
|
OBJS=ubb-vga2.o grabfb.o tstimg.o ppm.o ppmimg.o ccube.o physmem.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
|