X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=sim%2Fucsim%2Favr.src%2FMakefile.in;h=190cf434b12b1d8f752af21afb50e0aa3106428b;hb=f1c40004ae349f7cd3a1a5c5c85f62f695196370;hp=57cbf209b9b096834e927e8ca41ff9a70bbff6f0;hpb=72b7e8dadd92279596c0f56649775fc056acf449;p=fw%2Fsdcc diff --git a/sim/ucsim/avr.src/Makefile.in b/sim/ucsim/avr.src/Makefile.in index 57cbf209..190cf434 100644 --- a/sim/ucsim/avr.src/Makefile.in +++ b/sim/ucsim/avr.src/Makefile.in @@ -23,10 +23,9 @@ CXXFLAGS = @CXXFLAGS@ -Wall M_OR_MM = @M_OR_MM@ PICOPT = @PICOPT@ SHAREDLIB = @SHAREDLIB@ +EXEEXT = @EXEEXT@ -EXEEXT = @EXEEXT@ - -LIBS = @LIBS@ -L$(PRJDIR) -lsim -lutil -lsim -lcmd -lguiucsim +LIBS = @LIBS@ -L$(PRJDIR) -Wl,--start-group -lsim -lutil -lcmd -lguiucsim -Wl,--end-group DL = @DL@ dl_ok = @dl_ok@ @@ -65,13 +64,13 @@ all: checkconf otherlibs avr.src # Compiling and installing everything and runing test # --------------------------------------------------- install: all installdirs - $(INSTALL) -s savr$(EXEEXT) $(bindir) + $(INSTALL) -s savr$(EXEEXT) $(DESTDIR)$(bindir) # Deleting all the installed files # -------------------------------- uninstall: - rm -f $(bindir)/savr$(EXEEXT) + rm -f $(DESTDIR)$(bindir)/savr # Performing self-test @@ -89,7 +88,7 @@ installcheck: # Creating installation directories # --------------------------------- installdirs: - test -d $(bindir) || $(INSTALL) -d $(bindir) + test -d $(DESTDIR)$(bindir) || $(INSTALL) -d $(DESTDIR)$(bindir) # Creating dependencies