diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3279459 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +C_FILES = create_window_x11.c eglstream.c shared.c +H_FILES = create_window.h shared.h +TARGET_BIN = eglstream + +.PHONY: all clean + +all: $(TARGET_BIN) + +$(TARGET_BIN): $(C_FILES) $(H_FILES) + gcc -I/usr/include/Khronos -o $@ $^ -lEGL -lX11 -lGLESv2 -lm + +clean: + rm -rf $(TARGET_BIN) *.o |