#Variables
include $(SCT_DAQ_ROOT)/build/Makefile.include
#Commands
include $(SCT_DAQ_ROOT)/build/Makefile.commands

#Phony Targets
.PHONY: all c++ test install clean distclean

all install: install_hacks

distclean clean: # Nothing to remove 

FILES = $(wildcard *hack)
# This is a hack as the ddc bins are not in the gcc32 distribution!
OUTFILES = $(addprefix $(InstallDir)/i686-rh73-gcc295/bin/,$(FILES))

install_hacks: $(InstallDir)/i686-rh73-gcc295/bin $(OUTFILES)

$(InstallDir)/i686-rh73-gcc295/bin/%: % 
	$(CPCMD)

$(InstallDir)/i686-rh73-gcc295/bin:
	mkdir -p $@
