1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-10-01 13:41:58 +03:00
ben-blinkenlights/ubb-vga/Makefile
Werner Almesberger 8643e457fa ubb-vga2: move image generation out of the main program
- ubb-vga2.c (session, grab): made the frame buffer "void *" and pass
  frame buffer resolution
- ubb-vga.h: color encoding and items shared between compilation units
- ubb-vga2.c (thres, pattern, grab), grabfb.c: move to grabfb.c
- ubb-vga2.c (map): make global, for use by grabfb.c
- ubb-vga2.c (pick, pattern, tricolor, grid): removed obsolete test
  image generators
- Makefile (OBJS, ubb-vga2): added grabfb.o
- Makefile (clean): remove only .o files
- Makefile (spotless): remove only executables
2011-04-27 20:59:29 -03:00

24 lines
338 B
Makefile

#CC=mipsel-openwrt-linux-uclibc-gcc
CC=mipsel-linux-gcc
CFLAGS=-Wall -g -O9 -march=mips32
OBJS=ubb-vga2.o grabfb.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