From 70468808f161d45b9ae0eecf5d9d854a805bd855 Mon Sep 17 00:00:00 2001 From: Patrik Gornicz Date: Sun, 18 Jan 2009 19:59:04 -0500 Subject: [PATCH] renamed to dir.mk files --- Makefile | 20 ++++++++++---------- src/Effects/{files.mk => dir.mk} | 0 src/Entities/{files.mk => dir.mk} | 0 src/GameStates/{files.mk => dir.mk} | 0 src/config/{files.mk => dir.mk} | 0 src/{files.mk => dir.mk} | 0 src/graphics/{files.mk => dir.mk} | 0 src/input/{files.mk => dir.mk} | 0 src/locks/{files.mk => dir.mk} | 0 9 files changed, 10 insertions(+), 10 deletions(-) rename src/Effects/{files.mk => dir.mk} (100%) rename src/Entities/{files.mk => dir.mk} (100%) rename src/GameStates/{files.mk => dir.mk} (100%) rename src/config/{files.mk => dir.mk} (100%) rename src/{files.mk => dir.mk} (100%) rename src/graphics/{files.mk => dir.mk} (100%) rename src/input/{files.mk => dir.mk} (100%) rename src/locks/{files.mk => dir.mk} (100%) diff --git a/Makefile b/Makefile index e1b2afd..85ac199 100644 --- a/Makefile +++ b/Makefile @@ -26,8 +26,8 @@ DIRS += locks/ SRCSDIR := src/ SRCS := # := start -# include all of the files.mk -include $(addprefix ${SRCSDIR},$(addsuffix files.mk,${DIRS})) +# include all of the dir.mk +include $(addprefix ${SRCSDIR},$(addsuffix dir.mk,${DIRS})) WORKINGDIR := bind/ @@ -56,6 +56,8 @@ OBJSBLDDIRS := $(addprefix ${OBJSDIR},${DIRS}) BLDDIRS := ${OBJSBLDDIRS} ${DEPSBLDDIRS} ${WORKINGDIR} ${DSTCFGDIR} +PRNTFMT := printf "%-5s: %s\n" + VERBOSE := 0 ifeq (${VERBOSE},0) @@ -70,8 +72,6 @@ else Q2 := endif -PRNTFMT := printf "%-5s: %s\n" - .PHONY: all all: ${TARGET} ${CFGS} @@ -115,16 +115,16 @@ tags: ${SRCS} .PHONY: clean clean: - ${Q1}${PRNTFMT} "CLEAN" "OBJS" - ${Q2}rm -f ${OBJS} - ${Q1}${PRNTFMT} "CLEAN" "TARGET" + ${Q1}${PRNTFMT} "rm" "${OBJSDIR}" + ${Q2}rm -rf ${OBJSDIR} + ${Q1}${PRNTFMT} "rm" "${TARGET} ${TARGETTMP}" ${Q2}rm -f ${TARGET} .PHONY: distclean distclean: clean - ${Q1}${PRNTFMT} "CLEAN" "DEPS" - ${Q2}rm -f ${DEPS} - ${Q1}${PRNTFMT} "CLEAN" "tags prof gmon.out" + ${Q1}${PRNTFMT} "rm" "${DEPSDIR}" + ${Q2}rm -rf ${DEPSDIR} + ${Q1}${PRNTFMT} "rm" "tags prof gmon.out" ${Q2}rm -f tags prof gmon.out .PHONY: gitclean diff --git a/src/Effects/files.mk b/src/Effects/dir.mk similarity index 100% rename from src/Effects/files.mk rename to src/Effects/dir.mk diff --git a/src/Entities/files.mk b/src/Entities/dir.mk similarity index 100% rename from src/Entities/files.mk rename to src/Entities/dir.mk diff --git a/src/GameStates/files.mk b/src/GameStates/dir.mk similarity index 100% rename from src/GameStates/files.mk rename to src/GameStates/dir.mk diff --git a/src/config/files.mk b/src/config/dir.mk similarity index 100% rename from src/config/files.mk rename to src/config/dir.mk diff --git a/src/files.mk b/src/dir.mk similarity index 100% rename from src/files.mk rename to src/dir.mk diff --git a/src/graphics/files.mk b/src/graphics/dir.mk similarity index 100% rename from src/graphics/files.mk rename to src/graphics/dir.mk diff --git a/src/input/files.mk b/src/input/dir.mk similarity index 100% rename from src/input/files.mk rename to src/input/dir.mk diff --git a/src/locks/files.mk b/src/locks/dir.mk similarity index 100% rename from src/locks/files.mk rename to src/locks/dir.mk -- 2.10.2