Skip to content

Commit 6cfb3cc

Browse files
author
M A
authored
utils: add mkwallpaper (#14)
Co-authored-by: 01micko <01micko#gmail.com>
1 parent 454a255 commit 6cfb3cc

File tree

3 files changed

+481
-0
lines changed

3 files changed

+481
-0
lines changed

utils/mkwallpaper/Makefile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
CC?=cc
2+
CFLAGS+=-Wall -pedantic -std=gnu99 $(shell pkg-config --cflags pangocairo)
3+
LDFLAGS+=$(shell pkg-config --libs pangocairo)
4+
5+
all: mkwallpaper
6+
7+
mkwallpaper: mkwallpaper.o
8+
$(CC) -o $@ $^ $(LDFLAGS)
9+
10+
mkwallpaper.o: mkwallpaper.c
11+
$(CC) -o $@ $(CFLAGS) -c $^
12+
13+
install:
14+
install -s -m 0755 mkwallpaper $(DESTDIR)/usr/bin/
15+
16+
clean:
17+
-rm -f *.o mkwallpaper

utils/mkwallpaper/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# mkwallpaper
2+
3+
This is a CLI program to generate images designed mainly for wallpapers.
4+
5+
See [mkwallpaper](https://github.com/01micko/mkwallpaper)

0 commit comments

Comments
 (0)