# file: $(NEDC_NFC)/util/cpp/nedc_eeg_gen_feats/Makefile # # define compilation flags # #CFLAGS += -O2 -Wall CFLAGS += -g -Wall # define source and object files # SRC = nedc_eeg_gen_feats.cc OBJ = nedc_eeg_gen_feats.o EXE = nedc_eeg_gen_feats # define dependencies # DEPS = $(NEDC_NFC)/class/cpp/Edf/Edf.h \ $(NEDC_NFC)/class/cpp/Fe/Fe.h \ $(NEDC_NFC)/lib/libdsp.a # define include files # INCLUDES = $(ISIP_INCLUDE) # define a target for the application # all: $(EXE) # define a target to link the application # $(EXE): $(OBJ) $(DEPS) g++ $(CFLAGS) -o $(EXE) \ $(OBJ) \ $(ISIP_LIBS) # define a target to compile the application # $(OBJ): $(SRC) $(DEPS) g++ $(CFLAGS) -c $(SRC) $(INCLUDES) -o $(OBJ) # define an installation target # install: rm -f $(NEDC_NFC)/bin/$(EXE) cp $(EXE) $(NEDC_NFC)/bin/ cd $(NEDC_NFC)/bin/; chmod u+rwx,g+rwx,o+rx $(EXE) # define a target to clean the directory # clean: rm -f $(EXE) $(OBJ) # # end of file