mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-28 22:07:49 +00:00
Man pages!
This commit is contained in:
17
Makefile
17
Makefile
@@ -2,8 +2,6 @@ localversion = $(shell sh scripts/localversion.sh)
|
||||
|
||||
CFLAGS+=-Wall -Iinclude -Iinclude/asm/gameboy -DLOCALVERSION=\"$(localversion)\" -g -std=c99 -D_POSIX_C_SOURCE=200112L
|
||||
|
||||
all:
|
||||
|
||||
yacc_pre := \
|
||||
src/asm/yaccprt1.y\
|
||||
src/asm/gameboy/yaccprt2.y\
|
||||
@@ -48,6 +46,7 @@ clean:
|
||||
rm -rf rgblink $(rgblink_obj)
|
||||
rm -rf rgbfix $(rgbfix_obj)
|
||||
rm -rf src/asm/asmy.c
|
||||
rm -rf rgbasm.0 rgbfix.0 rgblib.0 rgblink.0
|
||||
|
||||
rgbasm: $(rgbasm_obj)
|
||||
${CC} $(CFLAGS) -o $@ $(rgbasm_obj) -lm
|
||||
@@ -69,3 +68,17 @@ src/asm/asmy.c: src/asm/asmy.y
|
||||
|
||||
src/asm/asmy.y: $(yacc_pre)
|
||||
cat $(yacc_pre) > $@
|
||||
|
||||
man: rgbasm.0 rgbfix.0 rgblib.0 rgblink.0
|
||||
|
||||
rgbasm.0: man/rgbasm.1
|
||||
nroff -mdoc man/rgbasm.1 > rgbasm.0
|
||||
|
||||
rgbfix.0: man/rgbfix.1
|
||||
nroff -mdoc man/rgbfix.1 > rgbfix.0
|
||||
|
||||
rgblib.0: man/rgblib.1
|
||||
nroff -mdoc man/rgblib.1 > rgblib.0
|
||||
|
||||
rgblink.0: man/rgblink.1
|
||||
nroff -mdoc man/rgblink.1 > rgblink.0
|
||||
|
||||
Reference in New Issue
Block a user