diff options
| author | Comment <tim@gray.(none)> | 2013-07-26 22:46:00 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-07-26 22:46:00 +0100 |
| commit | 3d7eea02aa7a155b84c8c74ecbfd55a1941a9297 (patch) | |
| tree | d49d6ac97a0df08f5ea7e6c6c291acca0f65cd12 /rotord/Makefile | |
| parent | 7092eaaae3e844a68804b8a6b6825381e9a81443 (diff) | |
tidy files
Diffstat (limited to 'rotord/Makefile')
| -rw-r--r-- | rotord/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/rotord/Makefile b/rotord/Makefile index 41ededb..d7bd454 100644 --- a/rotord/Makefile +++ b/rotord/Makefile @@ -23,11 +23,13 @@ LDFLAGS = # The directories in which source files reside. # If not specified, only the current directory will be serached. -SRCDIRS = +SRCDIRS = src # The executable file name. # If not specified, current directory name or `a.out' will be used. -PROGRAM = +PROGRAM = bin/rotord + +OBJ_OUTPUT = obj/ ## Implicit Section: change the following only when necessary. ##========================================================================== @@ -78,6 +80,7 @@ endif ifeq ($(SRCDIRS),) SRCDIRS = . endif +##mkdir -p $(OBJ_OUTPUT) SOURCES = $(foreach d,$(SRCDIRS),$(wildcard $(addprefix $(d)/*,$(SRCEXTS)))) HEADERS = $(foreach d,$(SRCDIRS),$(wildcard $(addprefix $(d)/*,$(HDREXTS)))) SRC_CXX = $(filter-out %.c,$(SOURCES)) @@ -210,7 +213,7 @@ endif clean: - $(RM) $(OBJS) $(PROGRAM) $(PROGRAM).exe + $(RM) $(OBJS) $(PROGRAM) $(DEPS) distclean: clean $(RM) $(DEPS) TAGS |
