fixed bootstrapping and asset handling
This commit is contained in:
24
standalone-openfl-app/Makefile
Normal file
24
standalone-openfl-app/Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user