Unverified Commit 2896eb00 authored by Ozan Tezcan's avatar Ozan Tezcan Committed by GitHub
Browse files

Cleanup ffi generated files with 'make clean' (#46)

parent 7085cc4f
...@@ -109,6 +109,6 @@ do_infer: ...@@ -109,6 +109,6 @@ do_infer:
infer -- make infer -- make
clean: clean:
@rm -f src/*.o bin/* src/*.gcda src/*.gcno *.gcno *.gcda *.gcov tests/*.o tests/*.gcda tests/*.gcno; \ @rm -f ffi_tests.* src/*.o bin/* src/*.gcda src/*.gcno *.gcno *.gcda *.gcov tests/*.o tests/*.gcda tests/*.gcno; \
if [ -f "libraft.$(SHAREDEXT)" ]; then rm libraft.$(SHAREDEXT); fi;\ if [ -f "libraft.$(SHAREDEXT)" ]; then rm libraft.$(SHAREDEXT); fi;\
if [ -f libraft.a ]; then rm libraft.a; fi; if [ -f libraft.a ]; then rm libraft.a; fi;
...@@ -11,7 +11,7 @@ class Libraft(object): ...@@ -11,7 +11,7 @@ class Libraft(object):
def __init__(self): def __init__(self):
ffi = FFI() ffi = FFI()
ffi.set_source( ffi.set_source(
"tests", "ffi_tests",
""" """
""", """,
sources=""" sources="""
......
...@@ -3,7 +3,7 @@ import subprocess ...@@ -3,7 +3,7 @@ import subprocess
ffi = cffi.FFI() ffi = cffi.FFI()
ffi.set_source( ffi.set_source(
"tests", "ffi_tests",
""" """
#include "raft.h" #include "raft.h"
raft_entry_t *raft_entry_newdata(void *data) { raft_entry_t *raft_entry_newdata(void *data) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment