Add `make clean` rule to makefile
CPPFLAGS:=-I./lua/src
CFLAGS:=--std=c99 -g -Wall -O2 -fPIC -shared
-.PHONY: all lua
+.PHONY: all lua clean
all: lua runtime/tcore.o
@@ -10,3 +10,7 @@ lua:
runtime/tcore.o: runtime/tcore.c runtime/tcore.h
$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+
+clean:
+ cd lua/src; make clean
+ rm -f ./runtime/*.o
