Make 2000/jarijyrki compile without -I option

The includes for the X11 header files omitted the X11 and this means
running make will fail even if one has the files in a place that's in
the include path (default or via -I option).

Of course if one has X11 include files in a non-standard location (or
where the compiler doesn't look) they'll still have to use the -I
option.
This commit is contained in:
Cody Boone Ferguson committed 2023-03-22 10:43:41 -07:00
1 parent 2946cf1982
commit ca35488581
2 files changed
+7 -2

No files matched your search

+5
View File
@@ -22,6 +22,11 @@ make
You will need X11 header files and libraries installed to build this program.
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) made it easier to
compile this by adding `X11/` to the includes of `Xlib.h` and `keysym.h`. Thank
you Cody!
### To run:
```sh
+2 -2
View File
@@ -1,6 +1,6 @@
#include<stdlib.h>
#include<Xlib.h>
#include<keysym.h>
#include<X11/Xlib.h>
#include<X11/keysym.h>
#define b(b)XDraw##b(i,J,k,
#define l :q==
#define o if(