Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (15 sloc) 514 Bytes
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at
OBJ := .o
include Makefile.common
$(LD) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
$(OBJS): .deps/dir
mkdir -p .deps
touch $@
%.o: %.cpp
$(CC) $(CFLAGS) $(CPPFLAGS) -MD -MP -MF .deps/$(@F).pp -c $< -o $@
deps = $(addprefix .deps/,$(addsuffix .pp,$(notdir $(OBJS))))
-include $(deps)