Muted make logs
This commit is contained in:
parent
fa8ad9cd7f
commit
c7c597a39f
26
makefile
26
makefile
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
CLI_src=src/uxn.c src/devices/system.c src/devices/console.c src/devices/file.c src/devices/datetime.c
|
CLI_src=src/uxn.c src/devices/system.c src/devices/console.c src/devices/file.c src/devices/datetime.c
|
||||||
EMU_src=${CLI_src} src/devices/screen.c src/devices/controller.c src/devices/mouse.c
|
EMU_src=${CLI_src} src/devices/screen.c src/devices/controller.c src/devices/mouse.c
|
||||||
|
|
||||||
RELEASE_flags=-DNDEBUG -O2 -g0 -s
|
RELEASE_flags=-DNDEBUG -O2 -g0 -s
|
||||||
|
@ -10,25 +10,25 @@ DEBUG_flags=-std=c89 -D_POSIX_C_SOURCE=199309L -DDEBUG -Wall -Wno-unknown-pragma
|
||||||
all: dest bin/uxnasm bin/uxncli bin/uxn11
|
all: dest bin/uxnasm bin/uxncli bin/uxn11
|
||||||
|
|
||||||
dest:
|
dest:
|
||||||
mkdir -p bin
|
@ mkdir -p bin
|
||||||
rom:
|
rom:
|
||||||
./bin/uxnasm etc/polycat.tal bin/polycat.rom
|
@ ./bin/uxnasm etc/polycat.tal bin/polycat.rom
|
||||||
run: bin/uxnasm bin/uxncli bin/uxn11 rom
|
run: bin/uxnasm bin/uxncli bin/uxn11 rom
|
||||||
./bin/uxn11 bin/polycat.rom
|
@ ./bin/uxn11 bin/polycat.rom
|
||||||
test: bin/uxnasm bin/uxncli bin/uxn11
|
test: bin/uxnasm bin/uxncli bin/uxn11
|
||||||
./bin/uxnasm && ./bin/uxncli && ./bin/uxn11 && ./bin/uxnasm -v && ./bin/uxncli -v && ./bin/uxn11 -v
|
@ ./bin/uxnasm && ./bin/uxncli && ./bin/uxn11 && ./bin/uxnasm -v && ./bin/uxncli -v && ./bin/uxn11 -v
|
||||||
install: uxnasm uxncli uxn11
|
install: bin/uxnasm bin/uxncli bin/uxn11
|
||||||
cp bin/uxn11 bin/uxnasm bin/uxncli ~/bin/
|
@ cp bin/uxn11 bin/uxnasm bin/uxncli ~/bin/
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f ~/bin/uxn11 ~/bin/uxnasm ~/bin/uxncli
|
@ rm -f ~/bin/uxn11 ~/bin/uxnasm ~/bin/uxncli
|
||||||
format:
|
format:
|
||||||
clang-format -i src/uxnasm.c src/uxncli.c src/uxn11.c src/devices/*
|
@ clang-format -i src/uxnasm.c src/uxncli.c src/uxn11.c src/devices/*
|
||||||
clean:
|
clean:
|
||||||
rm -f bin/uxnasm bin/uxncli bin/uxn11 bin/polycat.rom bin/polycat.rom.sym
|
@ rm -f bin/uxnasm bin/uxncli bin/uxn11 bin/polycat.rom bin/polycat.rom.sym
|
||||||
|
|
||||||
bin/uxnasm: src/uxnasm.c
|
bin/uxnasm: src/uxnasm.c
|
||||||
cc ${RELEASE_flags} src/uxnasm.c -o bin/uxnasm
|
@ cc ${RELEASE_flags} src/uxnasm.c -o bin/uxnasm
|
||||||
bin/uxncli: ${CLI_src} src/uxncli.c
|
bin/uxncli: ${CLI_src} src/uxncli.c
|
||||||
gcc ${RELEASE_flags} ${CLI_src} src/uxncli.c -o bin/uxncli
|
@ cc ${RELEASE_flags} ${CLI_src} src/uxncli.c -o bin/uxncli
|
||||||
bin/uxn11: ${EMU_src} src/uxn11.c
|
bin/uxn11: ${EMU_src} src/uxn11.c
|
||||||
gcc ${RELEASE_flags} ${EMU_src} src/uxn11.c -lX11 -o bin/uxn11
|
@ cc ${RELEASE_flags} ${EMU_src} src/uxn11.c -lX11 -o bin/uxn11
|
||||||
|
|
Loading…
Reference in New Issue