refactor: move sh files in subfolder

This commit is contained in:
Ahurac 2024-11-14 13:38:51 +01:00
parent f4d9ebff4a
commit ba1fde2c65
8 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,5 @@
CC := cc -g -Wall -Wextra -Werror -ansi
.PHONY: all
all: out out/sh
@ -5,5 +7,5 @@ all: out out/sh
out:
mkdir -p -- $@
out/sh: $(wildcard src/*.c)
cc -g -Wall -Wextra -Werror -ansi -o $@ $^
out/sh: $(wildcard src/sh/*.c)
$(CC) -o $@ $^