Fixed Makefile
This commit is contained in:
parent
c99ff05aea
commit
a917b702f6
@ -9,9 +9,9 @@ EXTRA_LIBS=@LIBS@
|
|||||||
LOCAL_LDFLAGS=-rdynamic -ggdb ${EXTRA_LIBS}
|
LOCAL_LDFLAGS=-rdynamic -ggdb ${EXTRA_LIBS}
|
||||||
LINK_FLAGS=${LDFLAGS} ${LOCAL_LDFLAGS}
|
LINK_FLAGS=${LDFLAGS} ${LOCAL_LDFLAGS}
|
||||||
|
|
||||||
DEP=${srcdir}/dep
|
DEP=dep
|
||||||
EXE=${srcdir}/bin
|
EXE=bin
|
||||||
OBJ=${srcdir}/objs
|
OBJ=objs
|
||||||
DIR_LIST=${DEP} ${EXE} ${OBJ}
|
DIR_LIST=${DEP} ${EXE} ${OBJ}
|
||||||
|
|
||||||
EXE_LIST=${EXE}/tl-parser
|
EXE_LIST=${EXE}/tl-parser
|
||||||
@ -37,7 +37,7 @@ ${DIR_LIST}:
|
|||||||
|
|
||||||
-include ${DEPENDENCE_LIST}
|
-include ${DEPENDENCE_LIST}
|
||||||
|
|
||||||
${OBJECTS}: ${OBJ}/%.o: %.c | create_dirs_and_headers
|
${OBJECTS}: ${OBJ}/%.o: ${srcdir}/%.c | create_dirs_and_headers
|
||||||
${CC} ${INCLUDE} ${COMPILE_FLAGS} -c -MP -MD -MF ${DEP}/$*.d -MQ ${OBJ}/$*.o -o $@ $<
|
${CC} ${INCLUDE} ${COMPILE_FLAGS} -c -MP -MD -MF ${DEP}/$*.d -MQ ${OBJ}/$*.o -o $@ $<
|
||||||
|
|
||||||
${EXE}/tl-parser: ${OBJECTS}
|
${EXE}/tl-parser: ${OBJECTS}
|
||||||
|
Loading…
Reference in New Issue
Block a user