23 lines
580 B
Makefile
23 lines
580 B
Makefile
CPPFLAGS := $(CPPFLAGS) -I../lib/libZRCola/include -I../lib/stdex/include -I/usr/local/include/oatpp-1.3.0/oatpp
|
|
LDFLAGS := $(LDFLAGS) -L../lib/libZRCola/lib -L/usr/local/lib64/oatpp-1.3.0
|
|
LDLIBS := $(LDLIBS) -lZRCola -loatpp -lstdc++
|
|
SRCS := zrcolaws.cpp
|
|
|
|
include ../include/props.mak
|
|
|
|
.PHONY: all
|
|
all: zrcolad
|
|
|
|
zrcolad: ../lib/libZRCola/lib/libZRCola.a $(OBJS)
|
|
$(CC) $(LDFLAGS) $(OBJS) -o $@ $(LDLIBS)
|
|
|
|
../lib/libZRCola/lib/libZRCola.a:
|
|
$(MAKE) $(MFLAGS) -C ../lib/libZRCola/build
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
-rm -r *.{d,o} zrcolad
|
|
|
|
include ../include/targets.mak
|
|
-include $(DEPS)
|