Add alt versions to 2011/toledo + formatting
The first version allows one to reconfigure the controls and the size of the game field (which previously was done by changing the Makefile and updating the code respectively but now is possible at compilation time) and the second version uses the author's supplied layer.c file that should work for Windows. The keysym.h file is actually keysymdef.h from X11 so that users can see the macro names of the keys. The README.md file has been format/typo checked. This should complete the review of 2011/toledo.
This commit is contained in:
1 parent
2c62fa163c
commit
6f8e5fb229
7 files changed
+2751
-27
No files matched your search
@@ -120,8 +120,8 @@ OBJ= ${PROG}.o
|
||||
DATA=
|
||||
TARGET= ${PROG}
|
||||
#
|
||||
ALT_OBJ=
|
||||
ALT_TARGET=
|
||||
ALT_OBJ= ${PROG}.alt.o
|
||||
ALT_TARGET= ${PROG}.alt
|
||||
|
||||
|
||||
#################
|
||||
@@ -139,11 +139,15 @@ all: data ${TARGET}
|
||||
${PROG}: ${PROG}.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
|
||||
|
||||
# alternative executable
|
||||
#
|
||||
alt: data ${ALT_TARGET}
|
||||
@${TRUE}
|
||||
|
||||
${PROG}.alt: ${PROG}.alt.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
|
||||
# data files
|
||||
#
|
||||
data: ${DATA}
|
||||
|
||||
Reference in new issue
Block a user