Skip to content

Commit

Permalink
update Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Kim committed Jun 2, 2022
1 parent 40d8718 commit db38533
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ distclean: clean
echo "<=== $${DIR}"; \
done
${RM} -rf autom4te.cache
${RM} configure.lineno config.log config.status config.h *~
${RM} Makefile src/qdecoder.pc
${RM} -f configure.lineno config.log config.status config.h
${RM} -f Makefile src/qdecoder.pc
5 changes: 3 additions & 2 deletions examples/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS= -I../src/ @CPPFLAGS@
LIBS = ../src/libqdecoder.a @LIBS@
RM = @RM@

TARGETS = query.cgi cookie.cgi multivalue.cgi upload.cgi uploadfile.cgi download.cgi session.cgi

Expand Down Expand Up @@ -67,8 +68,8 @@ session.cgi: session.o

## Clear Module
clean:
rm -f *.o ${TARGETS}
rm -rf upload tmp
${RM} -f *.o ${TARGETS}
${RM} -rf upload tmp

## Compile Module
.c.o:
Expand Down
12 changes: 6 additions & 6 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ install: all

deinstall: uninstall
uninstall:
${RM} ${HEADERDIR}/qdecoder.h
${RM} ${LIBDIR}/${LIBNAME}
${RM} ${LIBDIR}/${SLIBREALNAME}
${RM} ${LIBDIR}/${SLIBNAME}
${RM} ${PKGCONFIGDIR}/${PKGCONFIGNAME}
${RM} -f ${HEADERDIR}/qdecoder.h
${RM} -f ${LIBDIR}/${LIBNAME}
${RM} -f ${LIBDIR}/${SLIBREALNAME}
${RM} -f ${LIBDIR}/${SLIBNAME}
${RM} -f ${PKGCONFIGDIR}/${PKGCONFIGNAME}
${RMDIR} -p --ignore-fail-on-non-empty ${HEADERDIR}
${RMDIR} -p --ignore-fail-on-non-empty ${PKGCONFIGDIR}
${RMDIR} -p --ignore-fail-on-non-empty ${LIBDIR}
Expand All @@ -109,7 +109,7 @@ cleandoc:
${RM} -rf ../doc/html

clean:
${RM} ${OBJ} ${LIBNAME} ${SLIBREALNAME} ${SLIBNAME}
${RM} -f ${OBJ} ${LIBNAME} ${SLIBREALNAME} ${SLIBNAME}

## Compile
.c.o:
Expand Down
3 changes: 2 additions & 1 deletion tests/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ QDECODER_LIBDIR = ../src
CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@ -I${QDECODER_INCDIR}
RM = @RM@

TARGETS = \
test_q_urldecode
Expand All @@ -55,7 +56,7 @@ test_q_urldecode: test_q_urldecode.o ${QUNIT_OBJS}

## Clear Module
clean:
${RM} *.o ${TARGETS}
${RM} -f *.o ${TARGETS}

## Compile Module
.c.o:
Expand Down

0 comments on commit db38533

Please sign in to comment.