Compare commits

...

3 Commits

Author SHA1 Message Date
d7bf07886a fixed broken img links 2023-10-02 18:54:38 +02:00
b9c9a2563a visual replace artifact fix 2023-10-01 20:52:14 +02:00
92ff012047 caught up make file to dir name changes 2023-10-01 20:47:54 +02:00
2 changed files with 15 additions and 15 deletions

View File

@ -10,14 +10,14 @@ CPPFLAGS:=-I config/ -I ${CHDRD} ${shell pkg-config --cflags ${LIBS}}
LDLIBS=${shell pkg-config --libs ${LIBS}} LDLIBS=${shell pkg-config --libs ${LIBS}}
LEX:=flex LEX:=flex
LEXD:=src/ LEXD:=source/
LEXF:=$(shell find ${LEXD} -iname '*.l') LEXF:=$(shell find ${LEXD} -iname '*.l')
GENLEX:=$(subst .l,.c,${LEXF}) GENLEX:=$(subst .l,.c,${LEXF})
SRCD:=src/ SRCD:=source/
OBJD:=obj/ OBJD:=object/
SRC:=$(shell find ${SRCD} -iname '*.c') ${GENLEX} source:=$(shell find ${SRCD} -iname '*.c') ${GENLEX}
OBJ:=$(subst .c,.o,$(subst ${SRCD},${OBJD},${SRC})) object:=$(subst .c,.o,$(subst ${SRCD},${OBJD},${source}))
HDRD:=${SRCD} HDRD:=${SRCD}
CONFD:=config/ CONFD:=config/
@ -27,19 +27,19 @@ CHDR:=$(addsuffix .gch,$(subst ${HDRD},${CHDRD},$(subst ${CONFD}, ${CHDRD}, ${HD
OUTPUT:=csope OUTPUT:=csope
main: ${CHDR} ${OBJ} main: ${CHDR} ${object}
${LINK.c} ${OBJ} -o ${OUTPUT} ${LDLIBS} ${LINK.c} ${object} -o ${OUTPUT} ${LDLIBS}
obj/%.o: src/%.c object/%.o: source/%.c
${COMPILE.c} $< -o $@ ${COMPILE.c} $< -o $@
src/%.c: src/%.l source/%.c: source/%.l
${LEX} -o $@ $< ${LEX} -o $@ $<
obj/%.h.gch: src/%.h object/%.h.gch: source/%.h
${CC} $< -o $@ ${CC} $< -o $@
obj/%.h.gch: config/%.h object/%.h.gch: config/%.h
${CC} $< -o $@ ${CC} $< -o $@
install: ${OUTPUT} install: ${OUTPUT}
@ -48,5 +48,5 @@ install: ${OUTPUT}
clean: clean:
-rm ${CHDR} -rm ${CHDR}
-rm ${GENLEX} -rm ${GENLEX}
-rm ${OBJ} -rm ${object}
-rm ${OUTPUT} -rm ${OUTPUT}

View File

@ -4,13 +4,13 @@ While the original's mainentence seems abandoned and as far as I can tell you ne
Csope is alive and well. Csope is alive and well.
# Demo # Demo
![demo](docs/csope.GIF) ![demo](documentation/csope.GIF)
# Before/After # Before/After
## After ## After
![after](docs/after.jpg) ![after](documentation/after.jpg)
## Before ## Before
![after](docs/before.jpg) ![after](documentation/before.jpg)
# Features # Features
#### Search for #### Search for