stb image in its own compilation unit
This commit is contained in:
parent
7c0f56f497
commit
a091a542f3
3 changed files with 5 additions and 4 deletions
3
Makefile
3
Makefile
|
|
@ -5,10 +5,11 @@ LDLIBS+=$(shell pkg-config --libs $(LIBS)) -lwayland-cursor
|
|||
WAYLAND_PROTOCOLS=$(shell pkg-config --variable=pkgdatadir wayland-protocols)
|
||||
WAYLAND_SCANNER=$(shell pkg-config --variable=wayland_scanner wayland-scanner)
|
||||
|
||||
glonkers: wlr-layer-shell-unstable-v1-protocol.o xdg-shell-protocol.o renderer.o wayland.o
|
||||
glonkers: wlr-layer-shell-unstable-v1-protocol.o xdg-shell-protocol.o renderer.o wayland.o stb_image.o
|
||||
glonkers.o: wlr-layer-shell-unstable-v1-protocol.h xdg-shell-protocol.h renderer.h wayland.h
|
||||
renderer.o: renderer.h
|
||||
wayland.o: wayland.h
|
||||
stb_image.o: stb_image.h
|
||||
|
||||
xdg-shell-protocol.h:
|
||||
$(WAYLAND_SCANNER) client-header $(WAYLAND_PROTOCOLS)/stable/xdg-shell/xdg-shell.xml $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue