1 |
commit: d092d2163bb287872d88c379841f87141448c3a8 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon May 30 16:59:33 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Mon May 30 17:02:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d092d216 |
7 |
|
8 |
media-libs/lodepng: remove stray file |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
media-libs/lodepng/Makefile | 37 ------------------------------------- |
13 |
1 file changed, 37 deletions(-) |
14 |
|
15 |
diff --git a/media-libs/lodepng/Makefile b/media-libs/lodepng/Makefile |
16 |
deleted file mode 100644 |
17 |
index 6731999d9..000000000 |
18 |
--- a/media-libs/lodepng/Makefile |
19 |
+++ /dev/null |
20 |
@@ -1,37 +0,0 @@ |
21 |
-# This makefile only makes the unit test, benchmark and pngdetail and showpng |
22 |
-# utilities. It does not make the PNG codec itself as shared or static library. |
23 |
-# That is because: |
24 |
-# LodePNG itself has only 1 source file (lodepng.cpp, can be renamed to |
25 |
-# lodepng.c) and is intended to be included as source file in other projects and |
26 |
-# their build system directly. |
27 |
- |
28 |
- |
29 |
-CC ?= gcc |
30 |
-CXX ?= g++ |
31 |
- |
32 |
-CFLAGS += -W -Wall -Wextra -ansi -pedantic -Wno-unused-function |
33 |
-CXXFLAGS += -W -Wall -Wextra -ansi -pedantic |
34 |
- |
35 |
-all: unittest benchmark pngdetail showpng lodepng.so |
36 |
- |
37 |
-%.o: %.cpp |
38 |
- @mkdir -p `dirname $@` |
39 |
- $(CXX) -I ./ $(CXXFLAGS) -fPIC -c $< -o $@ |
40 |
- |
41 |
-lodepng.so: lodepng.o |
42 |
- $(CXX) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-soname,lodepngn.so $^ -o $@ |
43 |
- |
44 |
-unittest: lodepng.so lodepng_util.o lodepng_unittest.o |
45 |
- $(CXX) $^ $(CXXFLAGS) $(LDFLAGA) -fPIE -o $@ -L. -llodepng |
46 |
- |
47 |
-benchmark: lodepng.so lodepng_benchmark.o |
48 |
- $(CXX) $^ $(CXXFLAGS) $(LDFLAGS) -fPIE -lSDL -o $@ -L. -llodepng |
49 |
- |
50 |
-pngdetail: lodepng.so lodepng_util.o pngdetail.o |
51 |
- $(CXX) $^ $(CXXFLAGS) $(LDFLAGS) -fPIE -o $@ -L. -llodepng |
52 |
- |
53 |
-showpng: lodepng.so examples/example_sdl.o |
54 |
- $(CXX) -I ./ $^ $(CXXFLAGS) $(LDFLAGS) -fPIE -lSDL -o $@ -L. -llodepng |
55 |
- |
56 |
-clean: |
57 |
- rm -f unittest benchmark pngdetail showpng lodepng_unittest.o lodepng_benchmark.o lodepng.o lodepng_util.o pngdetail.o examples/example_sdl.o |