diff -Naur vdkbuilder2-2.0.3/vdkbuilder/vdkb_templates.cc vdkbuilder2-2.0.3-gentoo/vdkbuilder/vdkb_templates.cc --- vdkbuilder2-2.0.3/vdkbuilder/vdkb_templates.cc 2002-06-04 07:56:35.000000000 +0000 +++ vdkbuilder2-2.0.3-gentoo/vdkbuilder/vdkb_templates.cc 2004-03-11 18:41:25.000000000 +0000 @@ -796,10 +796,10 @@ { namepath = get_path(complete_name); if(namepath && !strcmp(namepath,(char*) path)) - fprintf(fp,"\t$(PRJ_DIR)/%s_gui.o\\\n", + fprintf(fp,"\t$(PRJ_DIR)/%s_gui.o\n", get_shortfilename(complete_name)); else - fprintf(fp,"\t%s_gui.o\\\n",li.current()->Name()); + fprintf(fp,"\t%s_gui.o\n",li.current()->Name()); } if(namepath) delete[] namepath; @@ -856,34 +856,34 @@ char* pw = getcwd(NULL,MAXPATHLEN); if(pw) { cwd = pw; free(pw); } - fprintf(fp,"\ -\n####### Implicit rules\ -\n.SUFFIXES: .%s .%s\ -\n\ -\n.%s.o:\ -\n\t$(CC) -c $(CFLAGS) $(INCPATH) $(DEFD) -o $@ $<\ -\n\ -\n.%s.o:\ -\n\t$(C) -c $(CFLAGS) $(INCPATH) $(DEFD) -o $@ $<\ -\n\ -\n####### Build rules\ -\n\ -\nall: $(TARGET)\ -\n\ -\n$(TARGET): $(OBJECTS)\ -\n\t$(LINK) -o $(TARGET) $(OBJECTS) $(OTHERS_OBJECTS) $(LIBS)\ + fprintf(fp," +\n####### Implicit rules +\n.SUFFIXES: .%s .%s +\n +\n.%s.o: +\n\t$(CC) -c $(CFLAGS) $(INCPATH) $(DEFD) -o $@ $< +\n +\n.%s.o: +\n\t$(C) -c $(CFLAGS) $(INCPATH) $(DEFD) -o $@ $< +\n +\n####### Build rules +\n +\nall: $(TARGET) \n\ +\n$(TARGET): $(OBJECTS) +\n\t$(LINK) -o $(TARGET) $(OBJECTS) $(OTHERS_OBJECTS) $(LIBS) +\n \n####### Running (used by builder) -\nrun: $(TARGET)\ -\n\tcd %s\ -\n\t%s $(PRG_ARGS)\ -\n\tcd %s\ -\n\ -\nclean:\ -\n\t-rm -f $(OBJECTS) $(TARGET)\ -\n\t-rm -f *~ core\ -\n\ -\n####### Compile\ +\nrun: $(TARGET) +\n\tcd %s +\n\t%s $(PRG_ARGS) +\n\tcd %s +\n +\nclean: +\n\t-rm -f $(OBJECTS) $(TARGET) +\n\t-rm -f *~ core +\n +\n####### Compile ", cc_ext,c_ext,cc_ext,c_ext,(char*) path, (char*) builder_exe,(char*) cwd);