diff options
author | James McKenzie <root@ka-ata-killa.panaceas.james.local> | 2025-04-29 10:29:29 +0100 |
---|---|---|
committer | James McKenzie <root@ka-ata-killa.panaceas.james.local> | 2025-04-30 10:24:35 +0100 |
commit | 1029ab95803e4c819217c987092ddd89ff7e3125 (patch) | |
tree | 631d9158f338720f3961a5600905db0936ced4c0 | |
parent | d30dab6c93194f1336107daf2f4c9919df7f00eb (diff) | |
download | hp_instrument_lcds-1029ab95803e4c819217c987092ddd89ff7e3125.tar.gz hp_instrument_lcds-1029ab95803e4c819217c987092ddd89ff7e3125.tar.bz2 hp_instrument_lcds-1029ab95803e4c819217c987092ddd89ff7e3125.zip |
working build for both
-rw-r--r-- | spartan6/hp_lcd_driver/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/spartan6/hp_lcd_driver/Makefile b/spartan6/hp_lcd_driver/Makefile index ee53a71..ba5560a 100644 --- a/spartan6/hp_lcd_driver/Makefile +++ b/spartan6/hp_lcd_driver/Makefile @@ -1,4 +1,5 @@ -default: build_ep4ce15/hp_lcd_driver.svf build_spartan6/hp_lcd_driver.svf +TARGETS= ep4ce15 spartan6 #ep4ce6 +default: ${TARGETS:%=build_%/hp_lcd_driver.svf} ep4ce15: build_ep4ce15/hp_lcd_driver.svf ep4ce6hp: build_ep4ce6/hp_lcd_driver.svf @@ -7,5 +8,9 @@ spartan6: build_spartan6/hp_lcd_driver.svf build_%/hp_lcd_driver.svf: dummy ${MAKE} -f ${@:build_%/hp_lcd_driver.svf=%}.mk +clean: + for i in ${TARGETS}; do ${MAKE} -f $$i.mk $@; done + + dummy: |