Compare commits
No commits in common. "d7bf07886a56475181e2702260d7de58e56468af" and "02ba196cd4f581fbd7f07c0e1e4b91fad89c95f3" have entirely different histories.
d7bf07886a
...
02ba196cd4
24
Makefile
24
Makefile
@ -10,14 +10,14 @@ CPPFLAGS:=-I config/ -I ${CHDRD} ${shell pkg-config --cflags ${LIBS}}
|
||||
LDLIBS=${shell pkg-config --libs ${LIBS}}
|
||||
LEX:=flex
|
||||
|
||||
LEXD:=source/
|
||||
LEXD:=src/
|
||||
LEXF:=$(shell find ${LEXD} -iname '*.l')
|
||||
GENLEX:=$(subst .l,.c,${LEXF})
|
||||
|
||||
SRCD:=source/
|
||||
OBJD:=object/
|
||||
source:=$(shell find ${SRCD} -iname '*.c') ${GENLEX}
|
||||
object:=$(subst .c,.o,$(subst ${SRCD},${OBJD},${source}))
|
||||
SRCD:=src/
|
||||
OBJD:=obj/
|
||||
SRC:=$(shell find ${SRCD} -iname '*.c') ${GENLEX}
|
||||
OBJ:=$(subst .c,.o,$(subst ${SRCD},${OBJD},${SRC}))
|
||||
|
||||
HDRD:=${SRCD}
|
||||
CONFD:=config/
|
||||
@ -27,19 +27,19 @@ CHDR:=$(addsuffix .gch,$(subst ${HDRD},${CHDRD},$(subst ${CONFD}, ${CHDRD}, ${HD
|
||||
|
||||
OUTPUT:=csope
|
||||
|
||||
main: ${CHDR} ${object}
|
||||
${LINK.c} ${object} -o ${OUTPUT} ${LDLIBS}
|
||||
main: ${CHDR} ${OBJ}
|
||||
${LINK.c} ${OBJ} -o ${OUTPUT} ${LDLIBS}
|
||||
|
||||
object/%.o: source/%.c
|
||||
obj/%.o: src/%.c
|
||||
${COMPILE.c} $< -o $@
|
||||
|
||||
source/%.c: source/%.l
|
||||
src/%.c: src/%.l
|
||||
${LEX} -o $@ $<
|
||||
|
||||
object/%.h.gch: source/%.h
|
||||
obj/%.h.gch: src/%.h
|
||||
${CC} $< -o $@
|
||||
|
||||
object/%.h.gch: config/%.h
|
||||
obj/%.h.gch: config/%.h
|
||||
${CC} $< -o $@
|
||||
|
||||
install: ${OUTPUT}
|
||||
@ -48,5 +48,5 @@ install: ${OUTPUT}
|
||||
clean:
|
||||
-rm ${CHDR}
|
||||
-rm ${GENLEX}
|
||||
-rm ${object}
|
||||
-rm ${OBJ}
|
||||
-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.
|
||||
|
||||
# Demo
|
||||
![demo](documentation/csope.GIF)
|
||||
![demo](docs/csope.GIF)
|
||||
|
||||
# Before/After
|
||||
## After
|
||||
![after](documentation/after.jpg)
|
||||
![after](docs/after.jpg)
|
||||
## Before
|
||||
![after](documentation/before.jpg)
|
||||
![after](docs/before.jpg)
|
||||
|
||||
# Features
|
||||
#### Search for
|
||||
|
Loading…
Reference in New Issue
Block a user