Compare commits

..

No commits in common. "d7bf07886a56475181e2702260d7de58e56468af" and "02ba196cd4f581fbd7f07c0e1e4b91fad89c95f3" have entirely different histories.

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:=source/ LEXD:=src/
LEXF:=$(shell find ${LEXD} -iname '*.l') LEXF:=$(shell find ${LEXD} -iname '*.l')
GENLEX:=$(subst .l,.c,${LEXF}) GENLEX:=$(subst .l,.c,${LEXF})
SRCD:=source/ SRCD:=src/
OBJD:=object/ OBJD:=obj/
source:=$(shell find ${SRCD} -iname '*.c') ${GENLEX} SRC:=$(shell find ${SRCD} -iname '*.c') ${GENLEX}
object:=$(subst .c,.o,$(subst ${SRCD},${OBJD},${source})) OBJ:=$(subst .c,.o,$(subst ${SRCD},${OBJD},${SRC}))
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} ${object} main: ${CHDR} ${OBJ}
${LINK.c} ${object} -o ${OUTPUT} ${LDLIBS} ${LINK.c} ${OBJ} -o ${OUTPUT} ${LDLIBS}
object/%.o: source/%.c obj/%.o: src/%.c
${COMPILE.c} $< -o $@ ${COMPILE.c} $< -o $@
source/%.c: source/%.l src/%.c: src/%.l
${LEX} -o $@ $< ${LEX} -o $@ $<
object/%.h.gch: source/%.h obj/%.h.gch: src/%.h
${CC} $< -o $@ ${CC} $< -o $@
object/%.h.gch: config/%.h obj/%.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 ${object} -rm ${OBJ}
-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](documentation/csope.GIF) ![demo](docs/csope.GIF)
# Before/After # Before/After
## After ## After
![after](documentation/after.jpg) ![after](docs/after.jpg)
## Before ## Before
![after](documentation/before.jpg) ![after](docs/before.jpg)
# Features # Features
#### Search for #### Search for