commit e46c9b5
Devine Lu Linvega
·
2024-03-29 02:56:40 +0000 UTC
parent 5fdd442
Added archive function to makefile
1 files changed,
+3,
-1
M
makefile
M
makefile
+3,
-1
1@@ -5,7 +5,7 @@ EMU_src=${CLI_src} src/devices/screen.c src/devices/controller.c src/devices/mou
2 RELEASE_flags=-DNDEBUG -O2 -g0 -s
3 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
4
5-.PHONY: all debug dest run test install uninstall format clean
6+.PHONY: all debug dest run test install uninstall format clean archive
7
8 all: dest bin/uxnasm bin/uxncli bin/uxn11
9
10@@ -23,6 +23,8 @@ uninstall:
11 @ rm -f ~/bin/uxn11 ~/bin/uxnasm ~/bin/uxncli
12 format:
13 @ clang-format -i src/uxnasm.c src/uxncli.c src/uxn11.c src/devices/*
14+archive:
15+ @ cp src/uxnasm.c ../oscean/etc/uxnasm.c.txt
16 clean:
17 @ rm -fr bin
18