projects
/
xicursorset.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up the Makefile, and fix a linking problem
[xicursorset.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
3fff7f7
..
407d4cc
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,10
+1,10
@@
CFLAGS := -ansi -Wall -pedantic
CFLAGS += -ggdb
CFLAGS := -ansi -Wall -pedantic
CFLAGS += -ggdb
+CFLAGS += $(shell pkg-config --cflags x11 xi xcursor)
-LD
FLAGS := $(shell pkg-config --cflags --libs
xi xcursor)
+LD
LIBS := $(shell pkg-config --libs x11
xi xcursor)
-xicursorset: xicursorset.c
- $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
+all: xicursorset
clean:
rm -f xicursorset *.o
clean:
rm -f xicursorset *.o