X-Git-Url: https://git.ao2.it/xicursorset.git/blobdiff_plain/464f2702f5699c240fba01e6a7af783fa96454a5..HEAD:/Makefile diff --git a/Makefile b/Makefile index 3fff7f7..407d4cc 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ CFLAGS := -ansi -Wall -pedantic CFLAGS += -ggdb +CFLAGS += $(shell pkg-config --cflags x11 xi xcursor) -LDFLAGS := $(shell pkg-config --cflags --libs xi xcursor) +LDLIBS := $(shell pkg-config --libs x11 xi xcursor) -xicursorset: xicursorset.c - $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) +all: xicursorset clean: rm -f xicursorset *.o