chore: rename example files from generic names to kebab-case http variants in Makefile and README

This commit is contained in:
2025-11-22 21:30:55 +00:00
parent b5b720d993
commit 5ceaf35d5a
5 changed files with 23 additions and 15 deletions
+12 -12
View File
@@ -26,9 +26,9 @@ TESTS = $(TEST_DIR)/feature_test.rc \
$(TEST_DIR)/string_test.rc \
$(TEST_DIR)/string_manip_test.rc
EXAMPLES = $(EXAMPLE_DIR)/test.rc \
$(EXAMPLE_DIR)/demo.rc \
$(EXAMPLE_DIR)/a.rc
EXAMPLES = $(EXAMPLE_DIR)/http_simple.rc \
$(EXAMPLE_DIR)/http_persistent.rc \
$(EXAMPLE_DIR)/http_multi.rc
.PHONY: all clean test run-tests run-examples help dirs
@@ -81,14 +81,14 @@ run-string-test: $(TARGET)
run-string-manip: $(TARGET)
$(TARGET) $(TEST_DIR)/string_manip_test.rc
run-example-test: $(TARGET)
$(TARGET) $(EXAMPLE_DIR)/test.rc
run-http-simple: $(TARGET)
$(TARGET) $(EXAMPLE_DIR)/http_simple.rc
run-example-demo: $(TARGET)
$(TARGET) $(EXAMPLE_DIR)/demo.rc
run-http-persistent: $(TARGET)
$(TARGET) $(EXAMPLE_DIR)/http_persistent.rc
run-example-a: $(TARGET)
$(TARGET) $(EXAMPLE_DIR)/a.rc
run-http-multi: $(TARGET)
$(TARGET) $(EXAMPLE_DIR)/http_multi.rc
help:
@echo "RC - Retoor's C Interpreter"
@@ -106,9 +106,9 @@ help:
@echo " make run-string-manip - Run string_manip_test.rc (string manipulation & slicing)"
@echo ""
@echo "Examples:"
@echo " make run-example-test - Run test.rc (HTTP server)"
@echo " make run-example-demo - Run demo.rc (HTTP server with counter)"
@echo " make run-example-a - Run a.rc (HTTP server, 100 connections)"
@echo " make run-http-simple - Run http_simple.rc (single connection HTTP server)"
@echo " make run-http-persistent - Run http_persistent.rc (persistent HTTP server)"
@echo " make run-http-multi - Run http_multi.rc (HTTP server, 100 connections)"
@echo ""
@echo "Directory Structure:"
@echo " src/ - Source code files"