You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
380 B
18 lines
380 B
SRCS = $(wildcard *.cpp)
|
|
OBJS = $(SRCS:.cpp=.o)
|
|
DEPS = $(SRCS:.cpp=.d)
|
|
|
|
IRCDDB.a: $(OBJS) ../VersionInfo/GitVersion.h ../BaseCommon/BaseCommon.a
|
|
$(AR) rcs IRCDDB.a $(OBJS)
|
|
|
|
%.o : %.cpp
|
|
$(CC) -I../BaseCommon -I../VersionInfo $(CPPFLAGS) -MMD -MD -c $< -o $@
|
|
-include $(DEPS)
|
|
|
|
.PHONY clean:
|
|
clean:
|
|
$(RM) *.o *.d IRCDDB.a
|
|
|
|
../BaseCommon/BaseCommon.a:
|
|
../VersionInfo/GitVersion.h:
|