OpenCores
URL https://opencores.org/ocsvn/kiss-board/kiss-board/trunk

Subversion Repositories kiss-board

[/] [kiss-board/] [tags/] [initial/] [kiss-board_soc/] [sw/] [bmp2c/] [Makefile] - Blame information for rev 11

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 fukuchi
 
2
### native
3
#CC      = gcc
4
#CFLAGS  = -c -Wall
5
#LDFLAGS =
6
 
7
### cygwin
8
CC      = gcc
9
CFLAGS  = -c -Wall -DWIN32 -mno-cygwin
10
LDFLAGS = -mno-cygwin
11
 
12
OBJS1   = bmp2c_rgb565.c bmp.o
13
OBJS2   = bmp2bmp_white_black.c bmp.o
14
 
15
TARGET1 = bmp2c_rgb565
16
TARGET2 = bmp2bmp_white_black
17
 
18
all: $(TARGET1) $(TARGET2)
19
        #
20
        # Input BMP file is ONLY 24bit-format!!!
21
        #
22
        cat oc_bnr1.bmp                 | ./bmp2c_rgb565 image_oc_bnr1                  >image_oc_bnr1.c
23
        cat oc_bnr1_half.bmp            | ./bmp2c_rgb565 image_oc_bnr1_half             >image_oc_bnr1_half.c
24
        cat tessera_logo.bmp            | ./bmp2c_rgb565 image_tessera_logo             >image_tessera_logo.c
25
        cat tessera_logo_half.bmp       | ./bmp2c_rgb565 image_tessera_logo_half        >image_tessera_logo_half.c
26
        cat red.bmp                     | ./bmp2c_rgb565 image_red                      >image_red.c
27
        cat green.bmp                   | ./bmp2c_rgb565 image_green                    >image_green.c
28
        cat blue.bmp                    | ./bmp2c_rgb565 image_blue                     >image_blue.c
29
        cat rose.bmp                    | ./bmp2c_rgb565 image_rose                     >image_rose.c
30
 
31
$(TARGET1): $(OBJS1)
32
        $(CC) $(LDFLAGS) -o $(TARGET1) $(OBJS1)
33
$(TARGET2): $(OBJS2)
34
        $(CC) $(LDFLAGS) -o $(TARGET2) $(OBJS2)
35
.c.o:
36
        $(CC) $(CFLAGS) $(INCLUDES) $<
37
clean:
38
        rm -f *.o $(TARGET1) $(TARGET2) *~ *.stackdump *.exe *.BAK
39
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.