Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

autohide, windowdec, makefile, mousecursor, options

  • Loading branch information...
commit 4d1050a0d8db7da8154671735a5e039023db1a0e 1 parent 05d6951
Florian Berger authored

Showing 2 changed files with 31 additions and 0 deletions. Show diff stats Hide diff stats

  1. 8  ChangeLog
  2. 23  Makefile
8  ChangeLog
... ...
@@ -0,0 +1,8 @@
  1
+
  2
+2011-09-21
  3
+ * adopted some changes from gebart (mouse cursor, Makefile)
  4
+ * auto hide when mouse is not on captured screen
  5
+ * automatic desktop size
  6
+ * no window decorations
  7
+ * commandline options
  8
+ 
23  Makefile
... ...
@@ -0,0 +1,23 @@
  1
+CC = gcc
  2
+LIBS = -lX11 -lXext -lXfixes
  3
+SOURCES=windump.c
  4
+OBJS=$(SOURCES:.c=.o)
  5
+EXECUTABLE=windump
  6
+OPTIMIZE=2
  7
+#DEBUG=-ggdb3
  8
+DEBUG=
  9
+CFLAGS=-O$(OPTIMIZE) $(DEBUG) -std=gnu99 -pedantic -Wall -Wextra
  10
+LDFLAGS=$(DEBUG) -Wl,-O$(OPTIMIZE) -Wall -Wextra -Werror
  11
+
  12
+all: $(SOURCES) $(EXECUTABLE)
  13
+
  14
+$(EXECUTABLE): $(OBJS)
  15
+	$(CC) -o $@ $^ $(LDFLAGS) $(LIBS)
  16
+
  17
+.c.o:
  18
+	$(CC) $(CFLAGS) -c $< -o $@
  19
+
  20
+.PHONY: clean all
  21
+
  22
+clean:
  23
+	\rm -f $(OBJS) $(EXECUTABLE) *~ core

0 notes on commit 4d1050a

Please sign in to comment.
Something went wrong with that request. Please try again.