X-Git-Url: https://git.ao2.it/xicursorset.git/blobdiff_plain/464f2702f5699c240fba01e6a7af783fa96454a5..e295469f16223c351d0048827f86ffdf482f4e8f:/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