X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FMakefile.in;h=46d0e4c6cd78f92b9582265a15a9c9031417eb96;hb=f1c40004ae349f7cd3a1a5c5c85f62f695196370;hp=6c27d6b8c356f7fb77f87381dd673fe62fa7e182;hpb=cc554ae71ab44938c992cbafbc5faf213666326e;p=fw%2Fsdcc diff --git a/src/Makefile.in b/src/Makefile.in index 6c27d6b8..46d0e4c6 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -57,14 +57,14 @@ $(PRJDIR)/support/gc/libgc.a: # Compiling and installing everything and runing test # --------------------------------------------------- install: all installdirs - $(INSTALL) $(TARGET) `echo $(bindir)/sdcc$(EXEEXT)|sed '$(transform)'` - $(STRIP) `echo $(bindir)/sdcc$(EXEEXT)|sed '$(transform)'` + $(INSTALL) $(TARGET) `echo $(DESTDIR)$(bindir)/sdcc$(EXEEXT)|sed '$(transform)'` + $(STRIP) `echo $(DESTDIR)$(bindir)/sdcc$(EXEEXT)|sed '$(transform)'` # Deleting all the installed files # -------------------------------- uninstall: - rm -f $(bindir)/sdcc$(EXEEXT) + rm -f $(DESTDIR)$(bindir)/sdcc$(EXEEXT) # Performing self-test # -------------------- @@ -79,14 +79,14 @@ installcheck: # Creating installation directories # --------------------------------- installdirs: - $(INSTALL) -d $(bindir) + $(INSTALL) -d $(DESTDIR)$(bindir) # Creating dependencies # --------------------- dep: version.h Makefile.dep -Makefile.dep: $(SOURCES) $(SLIBSOURCES) $(SPECIAL) *.h $(PRJDIR)/*.h +Makefile.dep: version.h $(SOURCES) $(SLIBSOURCES) $(SPECIAL) *.h $(PRJDIR)/*.h $(CPP) $(CPPFLAGS) $(M_OR_MM) $(SOURCES) $(SLIBSOURCES) >Makefile.dep include Makefile.dep