# NDS Makefile
# Hızlı komutlar için Makefile

.PHONY: help build release test install clean format check watch quick doc

# Varsayılan hedef
help:
	@echo "NDS Development Makefile"
	@echo ""
	@echo "Kullanım: make <hedef>"
	@echo ""
	@echo "Hedefler:"
	@echo "  build    - Debug build"
	@echo "  release  - Release build (optimized)"
	@echo "  test     - Testleri çalıştır"
	@echo "  install  - Release build ve sisteme kur"
	@echo "  clean    - Temizlik"
	@echo "  format   - Kod formatlama"
	@echo "  check    - Lint ve format kontrolü"
	@echo "  watch    - Dosya değişikliklerini izle"
	@echo "  quick    - Hızlı build & install"
	@echo "  doc      - Dokümantasyon oluştur"

# Development komutları
build:
	@./scripts/dev.sh build

release:
	@./scripts/dev.sh release

test:
	@./scripts/dev.sh test

install:
	@./scripts/install.sh

clean:
	@./scripts/dev.sh clean

format:
	@./scripts/dev.sh format

check:
	@./scripts/dev.sh check

watch:
	@./scripts/dev.sh watch

quick:
	@./scripts/dev.sh quick

doc:
	@./scripts/dev.sh doc

# Kısayollar
b: build
r: release
t: test
i: install
c: clean
f: format
q: quick

# Kombinasyonlar
all: format check test release install
	@echo "✅ Tüm işlemler tamamlandı!"

ci: format check test
	@echo "✅ CI kontrolları başarılı!"