646a131a8e8eeea149e820af709d70030819cc96
Stefan Schuermans move config into DXF files

Stefan Schuermans authored 7 years ago

1) DRAWINGS := $(wildcard *.dxf)
Stefan Schuermans add config file generator

Stefan Schuermans authored 7 years ago

2) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

3) CONFIGS := $(DRAWINGS:.dxf=.etp)
Stefan Schuermans implement simulator config...

Stefan Schuermans authored 7 years ago

4) SIMCONFIGS := $(DRAWINGS:.dxf=.etps)
Stefan Schuermans add config file generator

Stefan Schuermans authored 7 years ago

5) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

6) CFGGEN := ../src/etherpix_config_gen
Stefan Schuermans add config file generator

Stefan Schuermans authored 7 years ago

7) 
8) .PHONY: all clean
9) .SUFFIXES:
10) .SECONDARY:
11) 
Stefan Schuermans implement simulator config...

Stefan Schuermans authored 7 years ago

12) all: $(CONFIGS) $(SIMCONFIGS)
Stefan Schuermans add config file generator

Stefan Schuermans authored 7 years ago

13) 
Stefan Schuermans implement simulator config...

Stefan Schuermans authored 7 years ago

14) %.etp %.etps: %.dxf $(CFGGEN)
15) 	$(CFGGEN) -d $< -c $*.etp -s $*.etps
Stefan Schuermans add config file generator

Stefan Schuermans authored 7 years ago

16) 
17) clean:
Stefan Schuermans implement simulator config...

Stefan Schuermans authored 7 years ago

18) 	rm -f $(CONFIGS) $(SIMCONFIGS)