25 lines
365 B
Makefile

# Makefile for standalone OpenFL application
# Default target
.PHONY: all
all: build
# Build the application
.PHONY: build
build:
haxe build.hxml
# Run the compiled application
.PHONY: run
run:
bash -c "cd bin/cpp && ./ApplicationMain"
# Build and run the application
.PHONY: test
test: build run
# Clean build artifacts
.PHONY: clean
clean:
rm -rf bin/cpp