mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-23 06:59:47 -05:00
Initial commit.
This has the basic event loop, and a first cut of the libffi dispatcher.
This commit is contained in:
commit
97f1ebe8d5
8 changed files with 821 additions and 0 deletions
17
Makefile
Normal file
17
Makefile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
CFLAGS = -Wall -g $(shell pkg-config --cflags libffi)
|
||||
LDLIBS = $(shell pkg-config --libs libffi)
|
||||
|
||||
all : wayland client
|
||||
|
||||
wayland_objs = wayland.o event-loop.o hash.o
|
||||
|
||||
wayland : $(wayland_objs)
|
||||
gcc -o $@ $(wayland_objs) $(LDLIBS)
|
||||
|
||||
client_objs = client.o
|
||||
|
||||
client : $(client_objs)
|
||||
gcc -o $@ $(client_objs)
|
||||
|
||||
clean :
|
||||
rm client wayland *.o
|
||||
Loading…
Add table
Add a link
Reference in a new issue