mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
Use pkg-config for X11
This commit is contained in:
parent
0a6df135dd
commit
26f00aaf53
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -129,7 +129,7 @@ build/refresher/%.o: %.c
|
|||
@mkdir -p $(@D)
|
||||
@$(CC) -c $(CFLAGS) $(CFSDL) $(INCLUDE) -o $@ $<
|
||||
|
||||
release/ref_gl.so : INCLUDE += -I/usr/X11R6/include
|
||||
release/ref_gl.so : INCLUDE += $(shell pkg-config x11 --cflags)
|
||||
release/ref_gl.so : CFLAGS += -fPIC
|
||||
release/ref_gl.so : LDFLAGS += -shared
|
||||
|
||||
|
|
Loading…
Reference in a new issue