move stuff around
This commit is contained in:
parent
5539354d92
commit
20f3d91def
17
Makefile
17
Makefile
|
@ -20,3 +20,20 @@ install:
|
|||
clean:
|
||||
gerbil clean
|
||||
gerbil clean all
|
||||
PRG = actkbd
|
||||
DEPS = guile-3.0
|
||||
|
||||
CFLAGS += -std=c11 `pkg-config --cflags ${DEPS}`
|
||||
LDFLAGS += `pkg-config --libs ${DEPS}`
|
||||
|
||||
all: ${PRG} ${PRG}.info Makefile
|
||||
|
||||
${PRG}: ${PRG}.c
|
||||
${CC} ${CPPFLAGS} ${CFLAGS} -o $@ $< ${LDFLAGS}
|
||||
|
||||
${PRG}.info: ${PRG}.texi
|
||||
makeinfo -o $@ -D "VERSION 0.2.9" -D "UPDATED 2024-02-28" ${PRG}.texi
|
||||
|
||||
lint:
|
||||
clang-tidy ${PRG}.c -- ${CPPFLAGS} ${CFLAGS}
|
||||
.PHONY: all lint
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
PRG = actkbd
|
||||
DEPS = guile-3.0
|
||||
|
||||
CFLAGS += -std=c11 `pkg-config --cflags ${DEPS}`
|
||||
LDFLAGS += `pkg-config --libs ${DEPS}`
|
||||
|
||||
all: ${PRG} ${PRG}.info Makefile
|
||||
|
||||
${PRG}: ${PRG}.c
|
||||
${CC} ${CPPFLAGS} ${CFLAGS} -o $@ $< ${LDFLAGS}
|
||||
|
||||
${PRG}.info: ${PRG}.texi
|
||||
makeinfo -o $@ -D "VERSION 0.2.9" -D "UPDATED 2024-02-28" ${PRG}.texi
|
||||
|
||||
lint:
|
||||
clang-tidy ${PRG}.c -- ${CPPFLAGS} ${CFLAGS}
|
||||
.PHONY: all lint
|
Loading…
Reference in New Issue