Added a Makefile #1

Merged
merged 1 commit into from May 12, 2011

Conversation

Projects
None yet
2 participants

markc commented May 12, 2011

Just a simple Makefile with an extra clean target. Also added -lXfixes to get it to compile using gcc 4.6.0 on Archlinux x86_64.

gebart added a commit that referenced this pull request May 12, 2011

@gebart gebart merged commit 788b178 into gebart:master May 12, 2011

Owner

gebart commented May 12, 2011

Looks good. I rewrote some parts of the Makefile to make it a bit more general.
Maybe we should add an install target too?

markc commented May 12, 2011

Yes, most folks would want /usr/bin/windump, some might prefer /usr/local/bin/windump, but I think everyone would use /etc/X11/xorg.conf with a caveat to move the current one to xorg.conf.bkp first.

Perhaps even some packaging targets would be interesting too... make deb, make rpm, make tgz, make pkg (Archlinux). Hmm, maybe even a make update target that does a git pull && make install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment