X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=int%2FMakefile;h=2a16a1e0b8937e5e6807e73c5bea0e060e777a88;hb=4d5f3a126218768cf63fc693a095dd42247aa2c9;hp=f6e3402352bbab6329e3c3bf30bcfd80640fec33;hpb=48bddd6acbfceed71f699e937c750f0994cc00fc;p=mTask.git diff --git a/int/Makefile b/int/Makefile index f6e3402..2a16a1e 100644 --- a/int/Makefile +++ b/int/Makefile @@ -1,6 +1,15 @@ 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 > $@ + +clean: + $(RM) $(OBJS) $(PROG)