Root/ubb-vga/Makefile

1#CC=mipsel-openwrt-linux-uclibc-gcc
2CC=mipsel-linux-gcc
3
4CFLAGS=-Wall -g -O9 -march=mips32
5LDFLAGS=-lm
6OBJS=ubb-vga.o grabfb.o tstimg.o ppm.o ppmimg.o ccube.o physmem.o
7
8.PHONY: all asm sch schp brd clean spotless
9
10all: ubb-vga ubb-vga-old
11
12ubb-vga: $(OBJS)
13
14asm: ubb-vga.c
15        $(CC) $(CFLAGS) -S $<
16
17sch:
18        eeschema `pwd`/ubb-vga.sch
19
20schp:
21        eeschema `pwd`/vga-ben.sch
22
23brd:
24        pcbnew `pwd`/vga-ben.brd
25
26vga-ben-front.png:
27        $(MAKE) -f ../../ben-wpan/makefiles/Makefile.kicad \
28          NAME=vga-ben $@
29
30vga-ben-back.png:
31        $(MAKE) -f ../../ben-wpan/makefiles/Makefile.kicad \
32          NAME=vga-ben $@
33
34clean:
35        rm -f $(OBJS)
36
37spotless: clean
38        rm -f ubb-vga ubb-vga-old
39

Archive Download this file

Branches:
master



interactive