dont reflex
This commit is contained in:
parent
4d1862932e
commit
5aa10f770e
4
Makefile
4
Makefile
@ -20,13 +20,13 @@ OBJ:=$(subst .cpp,.o,$(subst ${SRCD},${OBJD},${SRC}))
|
|||||||
|
|
||||||
OUTPUT:=rc-tui
|
OUTPUT:=rc-tui
|
||||||
|
|
||||||
main: lexer ${OBJ}
|
main: object/lex.cpp ${OBJ}
|
||||||
${LINK.cpp} ${OBJ} -o ${OUTPUT} ${LDLIBS}
|
${LINK.cpp} ${OBJ} -o ${OUTPUT} ${LDLIBS}
|
||||||
|
|
||||||
object/%.o: source/%.cpp
|
object/%.o: source/%.cpp
|
||||||
${COMPILE.cpp} $< -o $@
|
${COMPILE.cpp} $< -o $@
|
||||||
|
|
||||||
lexer: source/rc_lexer.l
|
object/lex.cpp: source/rc_lexer.l
|
||||||
${LEX} ${LFLAGS} --header-file=${OBJD}/rc_lexer.h -o ${OBJD}/lex.cpp ${SRCD}/rc_lexer.l
|
${LEX} ${LFLAGS} --header-file=${OBJD}/rc_lexer.h -o ${OBJD}/lex.cpp ${SRCD}/rc_lexer.l
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user