This commit is contained in:
flamingcow
2019-05-04 23:21:11 -07:00
commit dd9a0a974f
6 changed files with 188 additions and 0 deletions

15
Makefile Normal file
View File

@@ -0,0 +1,15 @@
FIRE_CXX ?= clang++
FIRE_CXXFLAGS ?= -O3 -std=gnu++2a -Wall -Werror
all: firebuf.a
objects = stream_buffer.o buffer.o
firebuf.a: $(objects)
ar rcs $@ $^
%.o: %.cc *.h Makefile
$(FIRE_CXX) $(FIRE_CXXFLAGS) -c -o $@ $<
clean:
rm --force firebuf.a *.o