repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
started with nucleo support
[mTask.git]
/
int
/
Makefile
diff --git
a/int/Makefile
b/int/Makefile
index
f6e3402
..
b311ea5
100644
(file)
--- a/
int/Makefile
+++ b/
int/Makefile
@@
-1,6
+1,18
@@
-CFLAGS:=-g -Wall -Wextra -Werror
-all: mTaskSymbols.h int
+CPPFLAGS:=-g -Wall -Wextra -Werror -DDEBUG
+PROG:=main
+OBJS:=interpret.o sds.o task.o main.o
+
+all: mTaskSymbols.h $(PROG)
+
+%.o: %.cpp
+ g++ $(CPPFLAGS) -c $< -o $@
+
+$(PROG): $(OBJS) misc.h
+ g++ $(LDFLAGS) -o $@ $(OBJS)
mTaskSymbols.h:
CLMFLAGS=-nr make -BC .. mTaskInterpret
../mTaskInterpret > $@
mTaskSymbols.h:
CLMFLAGS=-nr make -BC .. mTaskInterpret
../mTaskInterpret > $@
+
+clean:
+ $(RM) $(OBJS) $(PROG)