xicursorset.git
9 years agoClean up the Makefile, and fix a linking problem
Antonio Ospite [Mon, 18 Aug 2014 11:09:17 +0000 (13:09 +0200)]
Clean up the Makefile, and fix a linking problem

Use the implicit rule for single source file programs.

Specify CFLAGS and LDLIBS appropriately.

Also link against libX11 explicitly in order to fix this linking error:

  cc -ansi -Wall -pedantic -ggdb     xicursorset.c  -lXi -lXcursor  -o xicursorset
  /usr/bin/ld: /tmp/cc6cA5Ex.o: undefined reference to symbol 'XFlush'
  //usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line
  collect2: error: ld returned 1 exit status
  <builtin>: recipe for target 'xicursorset' failed
  make: *** [xicursorset] Error 1

14 years agoPrint the correct program name in usage info.
Antonio Ospite [Wed, 20 Jan 2010 11:59:55 +0000 (12:59 +0100)]
Print the correct program name in usage info.

14 years agoCosmetics
Antonio Ospite [Wed, 20 Jan 2010 11:57:37 +0000 (12:57 +0100)]
Cosmetics

14 years agoAdd a .gitignore file
Antonio Ospite [Thu, 14 Jan 2010 14:29:37 +0000 (15:29 +0100)]
Add a .gitignore file

14 years agoInitial import
Antonio Ospite [Thu, 14 Jan 2010 14:23:04 +0000 (15:23 +0100)]
Initial import