bf2c/Makefile
2022-01-20 00:31:01 +00:00

28 lines
320 B
Makefile

sourcefiles := $(shell find src/impl/ -name *.c)
all:
make build
build:
mkdir -p dist/ && \
gcc -o dist/bf2c -I src/intf/ ${sourcefiles}
package:
./scripts/package-bf2c.sh
deb:
make clean && \
make all && \
make package
clean:
rm -rf dist/ && \
rm -rf package/
.PHONY: run
run:
cd ./dist/ && \
./bf2c