bf2c/Makefile

28 lines
320 B
Makefile
Raw Normal View History

2021-05-05 13:22:14 +01:00
sourcefiles := $(shell find src/impl/ -name *.c)
all:
2022-01-20 00:14:01 +00:00
make build
2022-01-20 00:14:01 +00:00
build:
mkdir -p dist/ && \
2021-05-05 13:22:14 +01:00
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