X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=sim%2Fucsim%2Fmain_in.mk;h=413f4dbe2f0b6a5b90e76d5d51a7bfe325507e2e;hb=3ce766b71ad2b6d9f192e0e6c5d3a5f129804812;hp=d7f2715b04d07ba5210784e2371e98b7bc59158f;hpb=0e1bba0730e55b3d40c1c644d94befc99c87270d;p=fw%2Fsdcc diff --git a/sim/ucsim/main_in.mk b/sim/ucsim/main_in.mk index d7f2715b..413f4dbe 100644 --- a/sim/ucsim/main_in.mk +++ b/sim/ucsim/main_in.mk @@ -26,6 +26,8 @@ CFLAGS = @CFLAGS@ -I$(PRJDIR) -Wall CXXFLAGS = @CXXFLAGS@ -I$(PRJDIR) -Wall M_OR_MM = @M_OR_MM@ +EXEEXT = @EXEEXT@ + LIB_LIST = util sim cmd sim UCSIM_LIBS = $(patsubst %,-l%,$(LIB_LIST)) UCSIM_LIB_FILES = $(patsubst %,lib%.a,$(LIB_LIST)) @@ -67,10 +69,10 @@ install: all installdirs # Deleting all the installed files # -------------------------------- uninstall: - rm -f $(bindir)/s51 - rm -f $(bindir)/savr - rm -f $(bindir)/serialview - rm -f $(bindir)/portmon + rm -f $(bindir)/s51$(EXEEXT) + rm -f $(bindir)/savr$(EXEEXT) + rm -f $(bindir)/serialview$(EXEEXT) + rm -f $(bindir)/portmon$(EXEEXT) # Performing self-test @@ -138,7 +140,7 @@ ucsim: $(UCSIM_OBJECTS) $(UCSIM_LIB_FILES) # ---------------------- checkconf: @if [ -f devel ]; then\ - echo "MAIN.MK checkconf";\ + $(PRJDIR)/mkecho $(PRJDIR) "MAIN.MK checkconf";\ $(MAKE) -f conf.mk srcdir="$(srcdir)" freshconf;\ fi