Last change
on this file was
11738,
checked in by westram, 11 years ago
|
- fix build from tarball
- fix name of tag-#define expected in svn_revision.h
- xpm-converter creates target directories on-the-fly
|
File size:
455 bytes
|
Line | |
---|
1 | .SUFFIXES: .xpm |
---|
2 | .PHONY: all clean |
---|
3 | |
---|
4 | CONVERTER:=./convert_xpm.pl |
---|
5 | |
---|
6 | SOURCEDIR:=../pixmaps |
---|
7 | TARGETDIR:=./pixmaps |
---|
8 | |
---|
9 | SOURCE_XPM:= \ |
---|
10 | $(wildcard $(SOURCEDIR)/*.xpm) \ |
---|
11 | $(filter-out $(SOURCEDIR)/unused/%,$(wildcard $(SOURCEDIR)/*/*.xpm)) |
---|
12 | |
---|
13 | TARGET_XPM:=$(subst $(SOURCEDIR),$(TARGETDIR),$(SOURCE_XPM)) |
---|
14 | |
---|
15 | all: $(TARGET_XPM) |
---|
16 | @test \! -z "$(TARGET_XPM)" |
---|
17 | |
---|
18 | clean: |
---|
19 | -rm -f $(TARGET_XPM) |
---|
20 | |
---|
21 | $(TARGETDIR)/%.xpm : $(SOURCEDIR)/%.xpm $(CONVERTER) Makefile |
---|
22 | $(CONVERTER) $@ < $< |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.