added Makefiles

This commit is contained in:
wt
2026-04-08 15:30:08 +07:00
parent 54a89de56c
commit 13c21194e9
11 changed files with 165 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
SUBDIRS := canJump jump majorityelement maxprofit maxprofit2 rmdupfromsortedarray rmdupfromsortedarray2 rotate twopointers
all: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
.PHONY: all $(SUBDIRS)
clean:
for d in $(SUBDIRS); do (cd $$d && $(MAKE) clean); done