v0.0.1 - Up and running

This commit is contained in:
Your Name
2025-12-10 10:17:24 -04:00
parent d436a4927d
commit 60543cf7c4
11 changed files with 2552 additions and 2 deletions

26
Makefile Normal file
View File

@@ -0,0 +1,26 @@
CC = gcc
CFLAGS = -Wall -Wextra -O2 -I./nostr_core_lib/nostr_core -I./nostr_core_lib/cjson
LDFLAGS = ./nostr_core_lib/libnostr_core_x64.a -lz -ldl -lpthread -lm -L/usr/local/lib -lsecp256k1 -lssl -lcrypto -L/usr/local/lib -lcurl
TARGET = superball_thrower
SOURCE = main.c
all: nostr_core_lib $(TARGET)
nostr_core_lib:
@echo "Building nostr_core_lib..."
cd nostr_core_lib && ./build.sh --nips=1,6,44
$(TARGET): $(SOURCE)
$(CC) $(CFLAGS) $(SOURCE) -o $(TARGET) $(LDFLAGS)
clean:
rm -f $(TARGET)
distclean: clean
cd nostr_core_lib && make clean
install: $(TARGET)
install -m 755 $(TARGET) /usr/local/bin/
.PHONY: all clean distclean install nostr_core_lib