root := ../../..
subdirs := 
pre-targets := 
targets := diatheke
bin := diatheke
include ${root}/Makefile.cfg

cpp = diatheke.cpp corediatheke.cpp

s = $(c) $(cpp)
d = $(c:%.c=%.d) $(cpp:%.cpp=%.d)
o = $(c:%.c=%.o) $(cpp:%.cpp=%.o)
l = -lsword -lstdc++ -lz


diatheke: $(o)
	$(CC) $(LFLAGS) -o $@ $(o) $(l)

ifneq ($(nodeps),yes)
-include $(d)
endif
