Cleaning old code.
[goodfet] / firmware / Makefile
index 35a8bb6..a3ffacd 100644 (file)
@@ -64,38 +64,18 @@ CC =$(GCC) -Wall -O1 -fno-strict-aliasing -g   $(CCEXTRA)
 
 # Configurations
 # ==============
-# This is what you need to customize to specify which apps you want in your
-# firmware.  The "config" variable is just a space-delimited list of apps you
-# want included.  The makefile will take the list of apps and include all of
-# the proper code needed to build your desired firmware.
-
-# bare minimum
-# config = monitor
-
-# basic JTAG adapter
-# config = monitor jtag
-
-# Chipcon hacking
-# config = monitor chipcon ccspi
-
-# Glitch research
-# config = monitor glitch
-
-# XScale PXA255 JTAG
-# config = monitor jtagxscale
-
-# OpenOCD bit-bang device
-#config = monitor openocd
-
-# Old Default Config
-# config = monitor sbw  chipcon nrf ccspi spi jtagarm7 jtag430 jtag430x2 avr
+# This is what you need to customize to specify which apps you want in
+# your firmware.  The "config" variable is just a space-delimited list
+# of apps you want included.  The makefile will take the list of apps
+# and include all of the proper code needed to build your desired
+# firmware.  This is generated by config.mk.
 
 # New default.
-ifeq ($(platform),tilaunchpad)
-config ?= monitor chipcon i2c
-else
-config ?= monitor chipcon spi jtag430 jtag430x2 avr openocd ccspi maxusb
-endif
+ifeq ($(platform),tilaunchpad)
+config ?= monitor chipcon i2c
+else
+config ?= monitor chipcon spi jtag430 jtag430x2 avr openocd ccspi maxusb
+endif
 
 
 # Build the needed list of app and lib object files from the config
@@ -365,7 +345,7 @@ endif
 dumpinfo:
        $(MSP430BSL) --dumpinfo
 $(app).c: config builddate appsfiles err
-$(app): $(libs) $(apps)
+$(app): $(app).c $(libs) $(apps) 
 
 ifeq ($(platform),donbfet)
 $(app).hex: $(app)