repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add state to the bytecode generator
[mTask.git]
/
int
/
Makefile
diff --git
a/int/Makefile
b/int/Makefile
index
f6e3402
..
2a16a1e
100644
(file)
--- a/
int/Makefile
+++ b/
int/Makefile
@@
-1,6
+1,15
@@
CFLAGS:=-g -Wall -Wextra -Werror
CFLAGS:=-g -Wall -Wextra -Werror
-all: mTaskSymbols.h int
+PROG:=main
+OBJS:=interpret.o sds.o task.o
+
+all: mTaskSymbols.h $(PROG)
+
+$(PROG): $(PROG).c $(OBJS) misc.h
+ $(LINK.c) $(LDLIBS) $^ $(OUTPUT_OPTION)
mTaskSymbols.h:
CLMFLAGS=-nr make -BC .. mTaskInterpret
../mTaskInterpret > $@
mTaskSymbols.h:
CLMFLAGS=-nr make -BC .. mTaskInterpret
../mTaskInterpret > $@
+
+clean:
+ $(RM) $(OBJS) $(PROG)