Compare commits
3 Commits
02ba196cd4
...
d7bf07886a
Author | SHA1 | Date | |
---|---|---|---|
d7bf07886a | |||
b9c9a2563a | |||
92ff012047 |
24
Makefile
24
Makefile
@ -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}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user