-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving back and to more minimal solutions
I think that this project does not need CMake, which is a large piece of softare that is useful in cases where the code needs to run on different environments. In this case, this code will only run in UNIX-like systems using X11 or through Cygwin which is similar to UNIX-like environment. I have reversed 8a8f333. I have moved the documentation from asciidoc to mdoc, removing the need for conversion.
- Loading branch information
Showing
7 changed files
with
174 additions
and
424 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,107 +1,2 @@ | ||
|
||
# Created by https://www.gitignore.io/api/c++,makefile,cmake,qtcreator | ||
|
||
### C++ ### | ||
# Prerequisites | ||
*.d | ||
|
||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Fortran module files | ||
*.mod | ||
*.smod | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
|
||
### CMake ### | ||
CMakeCache.txt | ||
CMakeFiles | ||
CMakeScripts | ||
Testing | ||
Makefile | ||
cmake_install.cmake | ||
install_manifest.txt | ||
compile_commands.json | ||
CTestTestfile.cmake | ||
|
||
#!! ERROR: makefile is undefined. Use list command to see defined gitignore types !!# | ||
|
||
### QtCreator ### | ||
# gitignore for Qt Creator like IDE for pure C/C++ project without Qt | ||
# | ||
# Reference: http://doc.qt.io/qtcreator/creator-project-generic.html | ||
|
||
|
||
|
||
# Qt Creator autogenerated files | ||
|
||
|
||
# A listing of all the files included in the project | ||
*.files | ||
|
||
# Include directories | ||
*.includes | ||
|
||
# Project configuration settings like predefined Macros | ||
*.config | ||
|
||
# Qt Creator settings | ||
*.creator | ||
|
||
# User project settings | ||
*.creator.user* | ||
|
||
# Qt Creator backups | ||
*.autosave | ||
|
||
|
||
# End of https://www.gitignore.io/api/c++,makefile,cmake,qtcreator | ||
|
||
# Created by https://www.gitignore.io/api/vim | ||
|
||
### Vim ### | ||
# Swap | ||
[._]*.s[a-v][a-z] | ||
[._]*.sw[a-p] | ||
[._]s[a-rt-v][a-z] | ||
[._]ss[a-gi-z] | ||
[._]sw[a-p] | ||
|
||
# Session | ||
Session.vim | ||
|
||
# Temporary | ||
.netrwhist | ||
*~ | ||
# Auto-generated tag files | ||
tags | ||
# Persistent undo | ||
[._]*.un~ | ||
|
||
|
||
# End of https://www.gitignore.io/api/vim | ||
# | ||
pokoy | ||
pokoy.1 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
VERSION = 0.2.5 | ||
CC ?= gcc | ||
STRIP ?= strip | ||
CFLAGS = -std=c99 -D_DEFAULT_SOURCE -O2 | ||
LDFLAGS = -lxcb -lxcb-keysyms -lxcb-icccm -lxcb-screensaver | ||
|
||
SRCR = pokoy.c | ||
OBJS = ${SRCR:.c=.o} | ||
EXEC = pokoy | ||
|
||
PREFIX ?= /usr/local | ||
|
||
all: pokoy | ||
|
||
.c.o: | ||
${CC} ${CFLAGS} -o $@ -c $< | ||
|
||
pokoy: ${OBJS} | ||
${CC} ${OBJS} -o ${EXEC} ${LDFLAGS} | ||
${STRIP} -s ${EXEC} | ||
|
||
clean: | ||
rm -f ./*.o ./${EXEC} | ||
|
||
install: | ||
install -D -m 755 pokoy ${DESTDIR}${PREFIX}/bin/pokoy | ||
install -D -m 644 pokoyrc ${DESTDIR}${PREFIX}/share/pokoy/pokoyrc | ||
install -D -m 644 pokoy.1 ${DESTDIR}${PREFIX}/share/man/man1/pokoy.1 | ||
|
||
uninstall: | ||
rm -f ${DESTDIR}${PREFIX}/bin/pokoy | ||
rm -f ${DESTDIR}${PREFIX}/share/pokoy/pokoyrc | ||
rm -f ${DESTDIR}${PREFIX}/share/man/man1/pokoy.1 | ||
|
||
|
||
.PHONY: all clean install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.