Build B-5 exe and update website
Build and Package Oraset / build (macos-latest) (push) Waiting to run
Build and Package Oraset / build (ubuntu-latest) (push) Waiting to run
Build and Package Oraset / build (windows-latest) (push) Waiting to run
Build and Package Oraset / release (push) Blocked by required conditions
Build and Package Oraset / build (macos-latest) (push) Waiting to run
Build and Package Oraset / build (ubuntu-latest) (push) Waiting to run
Build and Package Oraset / build (windows-latest) (push) Waiting to run
Build and Package Oraset / release (push) Blocked by required conditions
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -Wextra -O2 -std=c11
|
||||
BINDIR = bin
|
||||
|
||||
TARGET = $(BINDIR)/oraset
|
||||
|
||||
SRCS = src/main.c
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(SRCS)
|
||||
@mkdir -p $(BINDIR)
|
||||
$(CC) $(CFLAGS) -o $(TARGET) $(SRCS)
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET)
|
||||
rm -rf $(BINDIR)
|
||||
|
||||
pkg: all
|
||||
rm -rf pkg-root
|
||||
mkdir -p pkg-root/usr/local/bin
|
||||
cp bin/oraset pkg-root/usr/local/bin/oraset
|
||||
chmod +x pkg-root/usr/local/bin/oraset
|
||||
pkgbuild --root pkg-root --identifier com.oraset.lang --version B-5 --install-location / Oraset-B5.pkg
|
||||
|
||||
.PHONY: all clean pkg
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user