###################################################################### #the following should point to the correct locations for your given system # # SLAACROOT - The loacation of the SLAAC-1V tools # ACSROOT - The location of the ACS tools # SEUROOT - The location of Eric Johnson's SEU tools # DESIGN - The name of the C++ file to compile ###################################################################### SLAACROOT := /fpga3/users/nhr2/trees/slaac1v_adc/slaac1v/pub ACSROOT := /fpga3/users/nhr2/trees/slaac1v_adc/slaac1v/acs_api SEUROOT := /fpga3/users/nhr2/SEU/users/ejohnson/SEU CPP := g++ ACS_LIBS := $(ACSROOT)/lib/acs_utils_LINUX.a $(ACSROOT)/lib/slaac1v_LINUX.a $(ACSROOT)/lib/slaac_api_LINUX.a SLAAC_LIBS := $(SLAACROOT)/lib/libslaac1vboard.a $(SLAACROOT)/lib/libslaacboard.a -lpthread $(ACS_LIBS) SEU_LIBS := $(SEUROOT)/lib/libseusim.a $(SLAAC_LIBS) CPPFLAGS := -DLINUX -DSLAAC_OS_LINUX -g -lm -O -I$(SEUROOT)/include -I$(SLAACROOT)/include -I$(ACSROOT)/include DESIGN = xp1current SRC_FILE := ${DESIGN}.cpp EXE_FILE := ${DESIGN} all: $(EXE_FILE) $(EXE_FILE): $(SRC_FILE) $(CPP) $(CPPFLAGS) $(SRC_FILE) $(SEU_LIBS) -o $(EXE_FILE) clean: rm $(EXE_FILE)