projects
/
h316.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
global: Makefiles now support parallel compiles.
[h316.git]
/
programs
/
first-steps
/
Makefile
diff --git
a/programs/first-steps/Makefile
b/programs/first-steps/Makefile
index 9720a0530c9dbc0c49f7768c8c2a9a188700a750..81f0c3ab440fe44187c95fa2560baaf8fbd05dd0 100644
(file)
--- a/
programs/first-steps/Makefile
+++ b/
programs/first-steps/Makefile
@@
-13,11
+13,11
@@
PROGRAMS=$(foreach n, $(wildcard $(SRC_DIR)/*.f $(SRC_DIR)/*.asm),$(notdir $(bas
default: $(foreach prog, $(PROGRAMS),$(BUILD_DIR)/$(prog).obj)
$(BUILD_DIR)/%.obj:$(SRC_DIR)/%.f
default: $(foreach prog, $(PROGRAMS),$(BUILD_DIR)/$(prog).obj)
$(BUILD_DIR)/%.obj:$(SRC_DIR)/%.f
- @if [ ! -d $(BUILD_DIR) ]; then mkdir $(BUILD_DIR); fi
+ @if [ ! -d $(BUILD_DIR) ]; then mkdir
-p
$(BUILD_DIR); fi
@$(FRTN_CMD) $< && mv $(notdir $(basename $<)).obj $(BUILD_DIR)
$(BUILD_DIR)/%.obj:$(SRC_DIR)/%.asm
@$(FRTN_CMD) $< && mv $(notdir $(basename $<)).obj $(BUILD_DIR)
$(BUILD_DIR)/%.obj:$(SRC_DIR)/%.asm
- @if [ ! -d $(BUILD_DIR) ]; then mkdir $(BUILD_DIR); fi
+ @if [ ! -d $(BUILD_DIR) ]; then mkdir
-p
$(BUILD_DIR); fi
@$(ASM_CMD) $< && mv $(notdir $(basename $<)).obj $(BUILD_DIR)
clean :
@$(ASM_CMD) $< && mv $(notdir $(basename $<)).obj $(BUILD_DIR)
clean :