diff --git a/Makefile b/Makefile index 4f5cb81..60d8000 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ include chad.mk SRC.dir := source OBJ.dir := object -SRC:=hl.c jeger.c main.c terminal.c vector.c +SRC:=$(addprefix $(SRC.dir)/,hl.c jeger.c main.c terminal.c vector.c) HDR:=chad.h hl.h jeger.h terminal.h vector.h OBJ:=$(subst $(SRC.dir),$(OBJ.dir),$(SRC:.c=.o))