mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-17 18:52:49 +02:00
623f3ccbe3
- 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
25 lines
392 B
Makefile
25 lines
392 B
Makefile
#CC=mipsel-openwrt-linux-uclibc-gcc
|
|
CC=mipsel-linux-gcc
|
|
|
|
CFLAGS=-Wall -g -O9 -march=mips32
|
|
LDFLAGS=-lm
|
|
OBJS=ubb-vga2.o grabfb.o tstimg.o ppm.o ppmimg.o ccube.o physmem.o
|
|
|
|
.PHONY: all asm sch clean spotless
|
|
|
|
all: ubb-vga ubb-vga2
|
|
|
|
ubb-vga2: $(OBJS)
|
|
|
|
asm: ubb-vga.c
|
|
$(CC) $(CFLAGS) -S $<
|
|
|
|
sch:
|
|
eeschema `pwd`/ubb-vga.sch
|
|
|
|
clean:
|
|
rm -f $(OBJS)
|
|
|
|
spotless: clean
|
|
rm -f ubb-vga ubb-vga2
|