mirror of
https://github.com/projectPiki/pikmin2.git
synced 2025-02-26 00:28:02 +00:00
Add make recipes for context generation.
This commit is contained in:
parent
9a7569eaad
commit
7e386cba62
14
Makefile
14
Makefile
@ -245,6 +245,20 @@ endif
|
||||
# If we need Frank, add the following after the @echo
|
||||
# $(QUIET) $(CC_EPI) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
### Extremely lazy recipes for generating context ###
|
||||
# Example usage: make build/pikmin2.usa/src/plugProjectYamashitaU/farmMgr.h
|
||||
$(BUILD_DIR)/%.h: %.c
|
||||
@echo "Compiling and generating context for " $<
|
||||
$(QUIET) $(CC) $(CFLAGS) -E -c -o $@ $<
|
||||
|
||||
$(BUILD_DIR)/%.h: %.cp
|
||||
@echo "Compiling and generating context for " $<
|
||||
$(QUIET) $(CC) $(CFLAGS) -E -c -o $@ $<
|
||||
|
||||
$(BUILD_DIR)/%.h: %.cpp
|
||||
@echo "Compiling and generating context for " $<
|
||||
$(QUIET) $(CC) $(CFLAGS) -E -c -o $@ $<
|
||||
|
||||
### Debug Print ###
|
||||
|
||||
print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true
|
||||
|
Loading…
x
Reference in New Issue
Block a user