Reduce esel footprint in /tmp
Now that event logs are stored as part of persistant storage
there is no longer a need to keep tmp full of these logs. I
am converting back to using a single file as the temp space
for esels
diff --git a/Makefile b/Makefile
index 61e97b0..eaa7324 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,5 @@
CXX ?= $(CROSS_COMPILE)g++
-TESTER = testit
-TESTER_OBJ = testit.o oemhandler.o
-
LIB_OEM_OBJ = oemhandler.o
LIB_OEM = liboemhandler.so
@@ -10,17 +7,13 @@
CXXFLAGS += -fPIC -Wall
-all: $(TESTER) $(LIB_OEM)
+all: $(LIB_OEM)
%.o: %.C
$(CXX) -c $< $(CXXFLAGS) -o $@
-
$(LIB_OEM): $(LIB_OEM_OBJ)
$(CXX) $^ -shared $(LDFLAGS) -o $@
-$(TESTER): $(TESTER_OBJ)
- $(CXX) $^ $(LDFLAGS) $(LIB_FLAG) -o $@ -ldl
-
clean:
- $(RM) $(LIB_OEM_OBJ) $(LIB_OEM) $(TESTER_OBJ) $(TESTER)
+ $(RM) $(LIB_OEM_OBJ) $(LIB_OEM)