diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2025-11-21 01:00:41 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2025-11-21 01:00:41 +0500 |
| commit | c2094944cfaa82436f2268e7fad0dc9184ad0bcb (patch) | |
| tree | d40b20343ff6b28664feeb80947bb7583e036e73 /Makefile | |
| parent | b7f1fffaac08795d853ba95334ffe7cee6a4ad58 (diff) | |
feat: rewrote on go for cross OS builds
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 37 |
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 |
