Initial commit (imported from the Nix repo)
This commit is contained in:
commit
49a385096e
9 changed files with 335 additions and 0 deletions
5
mk/patterns.mk
Normal file
5
mk/patterns.mk
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue