mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-12-02 13:02:16 -05:00
22 lines
349 B
Makefile
22 lines
349 B
Makefile
|
|
||
|
BOTAN_CONFIG = botan-config
|
||
|
|
||
|
CXX = g++
|
||
|
CFLAGS = -O2 -ansi -W -Wall -I../../build/include
|
||
|
LIBS = -L../.. -lbotan-1.10
|
||
|
|
||
|
SRCS=$(wildcard *.cpp)
|
||
|
|
||
|
PROGS=$(patsubst %.cpp,%,$(SRCS))
|
||
|
|
||
|
all: $(PROGS)
|
||
|
|
||
|
clean:
|
||
|
@rm -f $(PROGS)
|
||
|
|
||
|
%: %.cpp
|
||
|
$(CXX) $(CFLAGS) $? $(LIBS) -o $@
|
||
|
|
||
|
eax_test: eax_test.cpp
|
||
|
$(CXX) $(CFLAGS) $? $(LIBS) -lboost_regex -o $@
|