X-Git-Url: https://git.ao2.it/xicursorset.git/blobdiff_plain/e88fc7913706d39f0fcdb5e2ca4cf754944b3e35..881a349730a7340e581564e9484d00fb444c16df:/Makefile?ds=sidebyside 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