diff --git a/source/toy_drive_system.c b/repl/toy_drive_system.c similarity index 100% rename from source/toy_drive_system.c rename to repl/toy_drive_system.c diff --git a/source/toy_drive_system.h b/repl/toy_drive_system.h similarity index 100% rename from source/toy_drive_system.h rename to repl/toy_drive_system.h diff --git a/test/makefile b/test/makefile index dad42c4..7e6e934 100644 --- a/test/makefile +++ b/test/makefile @@ -4,7 +4,7 @@ IDIR +=. ../source ../repl CFLAGS +=$(addprefix -I,$(IDIR)) -g -Wall -W -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable LIBS += ODIR = obj -TARGETS = $(wildcard ../source/*.c) $(wildcard ../repl/lib_*.c) ../repl/repl_tools.c +TARGETS = $(wildcard ../source/*.c) $(wildcard ../repl/lib_*.c) ../repl/repl_tools.c ../repl/toy_drive_system.c TESTS = $(wildcard test_*.c) OBJ = $(addprefix $(ODIR)/,$(TARGETS:../source/%.c=%.o)) $(addprefix $(ODIR)/,$(TESTS:.c=.o))