EXAMPLES := 5x2panels8x12 demo_1x1m_25x25 CONFIGS := $(addsuffix .flp,$(EXAMPLES)) CFGGEN := ../src/flexipix_config_gen .PHONY: all clean .SUFFIXES: .SECONDARY: all: $(CONFIGS) 5x2panels8x12.flp: 5x2panels8x12.dxf $(CFGGEN) $(CFGGEN) $< 40 24 32 96 $@ demo_1x1m_25x25.flp: demo_1x1m_25x25.dxf $(CFGGEN) $(CFGGEN) $< 25 25 16 24 $@ clean: rm -f $(CONFIGS)