add dependencies to run makefile
This commit is contained in:
1 parent
5f4329d583
commit
c7d011b301
2 files changed
+13
-19
No files matched your search
@@ -6,11 +6,11 @@ all: run
|
||||
|
||||
prepare: src/main.o src/pin_handler.o
|
||||
|
||||
parser: src/parser.o
|
||||
@$(CC) $(CFLAGS) -o $@ $^
|
||||
parser: src/parser.o student.ino
|
||||
@$(CC) $(CFLAGS) -o $@ src/parser.o
|
||||
@./parser ./student.ino
|
||||
|
||||
run: parser $(OBJ_RUN)
|
||||
run: parser $(OBJ_RUN) student.ino
|
||||
@$(CC) -o main $(OBJ_RUN)
|
||||
@./main
|
||||
|
||||
|
||||
Reference in new issue
Block a user