mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-02-02 03:38:43 -05:00
28 lines
411 B
Makefile
28 lines
411 B
Makefile
#CPPFLAGS += -O3
|
|
CPPFLAGS += -O0 -g
|
|
CPPFLAGS += -std=c++11
|
|
CPPFLAGS += -Wall
|
|
CPPFLAGS+= -I..
|
|
|
|
|
|
.cpp.o:
|
|
$(CXX) $(DEFS) $(CPPFLAGS) -c $*.cpp
|
|
|
|
|
|
OBJS=WordVariations.o \
|
|
WordVariationsGenerator_danish.o \
|
|
STOWordVariationGenerator.o \
|
|
|
|
|
|
.PHONY: default
|
|
default: libword_variations.a
|
|
|
|
libword_variations.a: $(OBJS)
|
|
ar rcs $@ $^
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
-rm -f *.o
|
|
-rm -f libword_variations.a
|
|
-rm -f core
|