Moved completely over to jam. bye bye make\!

This commit is contained in:
maniacbug
2011-06-27 21:22:39 -07:00
parent ce881ba0dc
commit e7c30f265f
18 changed files with 1036 additions and 1812 deletions

View File

@@ -62,21 +62,8 @@ PROJECT_MODULES += [ GLOB $(PROJECT_DIR) : *.c *.cpp *.pde ] ;
OUT = $(OUT_DIR)/$(PROJECT_NAME) ;
# AvrDude setup
AVRDUDE_FLAGS = -V -F -D -C $(AVRDUDECONFIG_PATH)/avrdude.conf -p $(MCU) -c $(AVRDUDE_PROTOCOL) -b $(UPLOAD_RATE) ;
#This is not working :(
#HDRSCAN on $(OUT).pde = "^#[ \\t]*include[ \\t]*[<\\"](.*)[\\">].*$" ;
#HDRRULE on $(OUT).pde = HDER ;
#rule HDER
#{
# Echo $(<) INCLUDES $(>:B) ;
#
# _LIB = [ GLOB $(ARDUINO_LIB)/$(>:B) $(SKETCH_LIB)/$(>:B) : *.cpp ] ;
# Includes $(<) : $(OUT_DIR)/$(_LIB:B).o ;
# Echo [ GLOB $(ARDUINO_LIB)/$(>:B) $(SKETCH_LIB)/$(>:B) : *.cpp ] ;
#}
rule GitVersion
{
Always $(<) ;
@@ -128,9 +115,6 @@ rule Pde
Depends $(<) : $(<:D) ;
Clean clean : $(<) ;
# Could not get headerscan to work :(
# HDRRULE on $(>) = HDER ;
# HDRSCAN on $(>) = $(HDRPATTERN) ;
}
actions Pde