refactor: move sh files in subfolder
This commit is contained in:
parent
f4d9ebff4a
commit
ba1fde2c65
8 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -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 $@ $^
|
||||
|
|
Loading…
Reference in a new issue