From e46c9b5d61a42222ea945a584c9cff533c94babc Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Thu, 28 Mar 2024 19:56:40 -0700 Subject: [PATCH] Added archive function to makefile --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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