diff --git a/makefile b/makefile index a0b9b06..5f0991f 100644 --- a/makefile +++ b/makefile @@ -5,7 +5,7 @@ EMU_src=${CLI_src} src/devices/screen.c src/devices/controller.c src/devices/mou RELEASE_flags=-DNDEBUG -O2 -g0 -s DEBUG_flags=-std=c89 -D_POSIX_C_SOURCE=199309L -DDEBUG -Wall -Wno-unknown-pragmas -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined -.PHONY: all debug dest run test install uninstall format clean +.PHONY: all debug dest run test install uninstall format clean archive all: dest bin/uxnasm bin/uxncli bin/uxn11 @@ -23,6 +23,8 @@ uninstall: @ rm -f ~/bin/uxn11 ~/bin/uxnasm ~/bin/uxncli format: @ clang-format -i src/uxnasm.c src/uxncli.c src/uxn11.c src/devices/* +archive: + @ cp src/uxnasm.c ../oscean/etc/uxnasm.c.txt clean: @ rm -fr bin