summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile37
1 files changed, 0 insertions, 37 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 4bd922c..0000000
--- a/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-CC=gcc
-CFLAGS=-Wall -Wextra -std=c99 -O2
-TARGET=jelly-cms
-SOURCE=main.c
-
-# Default target
-$(TARGET): $(SOURCE)
- $(CC) $(CFLAGS) -o $(TARGET) $(SOURCE)
-
-# Clean build artifacts
-clean:
- rm -f $(TARGET)
- rm -rf build
-
-# Install (copy to /usr/local/bin)
-install: $(TARGET)
- sudo cp $(TARGET) /usr/local/bin/
-
-# Uninstall
-uninstall:
- sudo rm -f /usr/local/bin/$(TARGET)
-
-# Test build (run build command)
-test: $(TARGET)
- ./$(TARGET) build
-
-# Help
-help:
- @echo "Available targets:"
- @echo " $(TARGET) - Build the jelly-cms executable"
- @echo " clean - Remove build artifacts and executable"
- @echo " install - Install jelly-cms to /usr/local/bin"
- @echo " uninstall - Remove jelly-cms from /usr/local/bin"
- @echo " test - Build and run jelly-cms build command"
- @echo " help - Show this help message"
-
-.PHONY: clean install uninstall test help \ No newline at end of file