summaryrefslogtreecommitdiff
path: root/rbutil/icons/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/icons/Makefile')
-rw-r--r--rbutil/icons/Makefile39
1 files changed, 0 insertions, 39 deletions
diff --git a/rbutil/icons/Makefile b/rbutil/icons/Makefile
deleted file mode 100644
index 8eb630f427..0000000000
--- a/rbutil/icons/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
1# __________ __ ___.
2# Open \______ \ ____ ____ | | _\_ |__ _______ ___
3# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6# \/ \/ \/ \/ \/
7# $Id$
8#
9CC = gcc
10CXX = $(shell $(PREFIX)wx-config --version=2.8 --cxx)
11INC = `$(PREFIX)wx-config --version=2.8 --cxxflags`
12LIBS = `$(PREFIX)wx-config --version=2.8 --libs`
13
14CFLAGS = -Wall -Wundef -DRBUTIL -D_LARGEFILE64_SOURCE
15ICONS := $(wildcard *.png)
16HEADERS := $(subst .png,.h,$(ICONS))
17OBJS := $(subst .png,.o,$(ICONS))
18CXXSOURCES = $(subst .png,.cpp,$(ICONS))
19SILENT = @
20BIN2C = ./bin2c
21
22all: $(OBJS)
23
24
25bin2c: bin2c.c
26 $(SILENT) echo CC $<
27 $(SILENT) $(CC) -o $@ $<
28
29%.cpp: %.png bin2c
30 $(SILENT) echo BIN2C $<
31 $(SILENT) $(BIN2C) $<
32
33%.o: %.cpp
34 $(SILENT) echo CXX $<
35 $(SILENT) $(CXX) $(CFLAGS) $(INC) -c -o $@ $<
36
37clean:
38 $(SILENT) echo cleaning icons.
39 $(SILENT) rm -f bin2c $(OBJS) $(HEADERS) $(CXXSOURCES)