commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10698 - usrp-hw/trunk/sym/xilinx


From: jblum
Subject: [Commit-gnuradio] r10698 - usrp-hw/trunk/sym/xilinx
Date: Thu, 26 Mar 2009 18:53:25 -0600 (MDT)

Author: jblum
Date: 2009-03-26 18:53:25 -0600 (Thu, 26 Mar 2009)
New Revision: 10698

Modified:
   usrp-hw/trunk/sym/xilinx/Makefile
Log:
simplified xilinx symbol makefile

Modified: usrp-hw/trunk/sym/xilinx/Makefile
===================================================================
--- usrp-hw/trunk/sym/xilinx/Makefile   2009-03-27 00:46:13 UTC (rev 10697)
+++ usrp-hw/trunk/sym/xilinx/Makefile   2009-03-27 00:53:25 UTC (rev 10698)
@@ -1,56 +1,32 @@
 #!/usr/bin/make
 
-TRAGESYM=tragesym
+##################################################
+# Makefile for xilinx sources.
+#
+# If no sources exist, make will exec all gen scripts,
+# and recursivly invoke itself to make the symbols.
+# Make clean after modifying gen scripts,
+# otherwise sources will not be (re)generated.
+##################################################
 
-SRCFILES = \
-xc5v-ff1136small-BANK0.src \
-xc5v-ff1136small-BANK112.src \
-xc5v-ff1136small-BANK114.src \
-xc5v-ff1136small-BANK116.src \
-xc5v-ff1136small-BANK118.src \
-xc5v-ff1136small-BANK11.src \
-xc5v-ff1136small-BANK120.src \
-xc5v-ff1136small-BANK122.src \
-xc5v-ff1136small-BANK12.src \
-xc5v-ff1136small-BANK13.src \
-xc5v-ff1136small-BANK15.src \
-xc5v-ff1136small-BANK17.src \
-xc5v-ff1136small-BANK18.src \
-xc5v-ff1136small-BANK19.src \
-xc5v-ff1136small-BANK1.src \
-xc5v-ff1136small-BANK20.src \
-xc5v-ff1136small-BANK21.src \
-xc5v-ff1136small-BANK22.src \
-xc5v-ff1136small-BANK23.src \
-xc5v-ff1136small-BANK25.src \
-xc5v-ff1136small-BANK2.src \
-xc5v-ff1136small-BANK3.src \
-xc5v-ff1136small-BANK4.src \
-xc5v-ff1136small-BANK5.src \
-xc5v-ff1136small-BANK6.src \
-xc5v-ff1136small-GND.src \
-xc5v-ff1136small-NC.src \
-xc5v-ff1136small-OTHER.src \
-xc5v-ff1136small-VCCAUX.src \
-xc5v-ff1136small-VCCINT.src
-
-
+TRAGESYM=tragesym
+SRCFILES = $(wildcard *.src)
 SYMFILES=$(SRCFILES:.src=.sym)
 
-all: $(SRCFILES) $(SYMFILES)
+all: $(SYMFILES)
+       @if test "$(SRCFILES)" = ""; then \
+               ./xilinxgen320; \
+               ./xilinxgen484; \
+               ./xilinxgen1136-small; \
+               ./xilinxgen456; \
+               ./xilinxgen676; \
+               ./xilinxgen-XC3S1400AFT256; \
+               ./xilinxgen-XC3S1400AFG484; \
+               make; \
+       fi
 
-$(SRCFILES):
-       ./xilinxgen1136-big
-       ./xilinxgen320
-       ./xilinxgen484
-       ./xilinxgen1136-small
-       ./xilinxgen456
-       ./xilinxgen676
-       ./xilinxgen-XC3S1400AFT256
-       ./xilinxgen-XC3S1400AFG484
-
 clean:
-       $(RM) *.src *.sym *~
+       $(RM) *.src *.sym
 
 %.sym: %.src
        $(TRAGESYM) $< $@





reply via email to

[Prev in Thread] Current Thread [Next in Thread]