| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2022-02-17 19:36:01 +0100 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2022-02-17 19:36:01 +0100 |
| commit | ee38065c01d1c679304d7b85a372e0264cd36aa1 (patch) | |
| tree | ad1e397989e099dc9460879a873163eb036587fe /src/Makefile | |
| parent | 197336db213195e015a3f301473eeb29f23a2d49 (diff) | |
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/Makefile b/src/Makefile deleted file mode 100644 index 719b8ea..0000000 --- a/src/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -SUBCOMPONENTS = $(dir $(filter-out "./Makefile",$(wildcard ./*/Makefile))) -SUBCOMPONENTS_EXPORT = $(addsuffix /export.a,$(SUBCOMPONENTS)) -################################################################################ -SRC_FILES = $(wildcard ./*.c) -OBJ_FILES = $(SRC_FILES:.c=.o) -DEP_FILES = $(SRC_FILES:.c=.d) -################################################################################ -build: export.a - -export.a: $(OBJ_FILES) $(SUBCOMPONENTS_EXPORT) - ar -crT $@ $^ - -$(SUBCOMPONENTS_EXPORT): .JUST_CHECK - $(MAKE) -C $(dir $@) export.a - -clean: - rm -f $(OBJ_FILES) - rm -f $(DEP_FILES) - rm -f export.a - for subcmp in $(SUBCOMPONENTS) ; do \ - $(MAKE) -C $$subcmp clean ; \ - done -################################################################################ -%.d: %.c - @set -e; rm -f $@; \ - $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \ - sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \ - rm -f $@.$$$$ - -.JUST_CHECK: - -include $(DEP_FILES) |


