Commit 5afb2c67 authored by gabime's avatar gabime

makefile fix

parent b093b824
CC = g++
CCFLAGS = -std=c++11 -pthread -Iinclude -O3 -flto
all: lib testlog
all: testlog
testlog: test.o lib
$(CC) -o $testlog test.o libc11log.a $(CCFLAGS)
$(CC) -o testlog test.o libc11log.a $(CCFLAGS)
lib: factory.o formatters.o line_logger.o os.o
ar rvs libc11log.a $^;
......@@ -27,4 +27,4 @@ os.o: src/os.cpp
.PHONY: clean
clean:
rm *.o
rm -f *.o testlog
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