Initial commit (imported from the Nix repo)

This commit is contained in:
Eelco Dolstra 2013-12-10 15:54:34 +01:00
commit 49a385096e
9 changed files with 335 additions and 0 deletions

5
mk/patterns.mk Normal file
View file

@ -0,0 +1,5 @@
%.o: %.cc
$(QUIET) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(basename $@).dep -MP
%.o: %.c
$(QUIET) $(CC) -o $@ -c $< $(GLOBAL_CFLAGS) $(CFLAGS) $($@_CFLAGS) -MMD -MF $(basename $@).dep -MP