X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Fz80%2FMakefile.in;h=50d70befbe5c11eed04a89d7f09ad236e68c2f79;hb=f1c40004ae349f7cd3a1a5c5c85f62f695196370;hp=d95c692678c863cb38ea7ce75849c181eeb799b9;hpb=24d36cacbba9c00046134de17afd35900366150b;p=fw%2Fsdcc diff --git a/as/z80/Makefile.in b/as/z80/Makefile.in index d95c6926..50d70bef 100644 --- a/as/z80/Makefile.in +++ b/as/z80/Makefile.in @@ -16,15 +16,15 @@ PRJDIR = ../.. srcdir = @srcdir@ prefix = @prefix@ -exec_prefix = ${prefix} -bindir = ${exec_prefix}/bin -libdir = ${exec_prefix}/lib -datadir = ${prefix}/share -includedir = ${prefix}/include -mandir = ${prefix}/man +exec_prefix = @exec_prefix@ +bindir = @bindir@ +libdir = @libdir@ +datadir = @datadir@ +includedir = @include@ +mandir = @mandir@ man1dir = $(mandir)/man1 man2dir = $(mandir)/man2 -infodir = ${prefix}/info +infodir = @infodir@ CPPFLAGS = @CPPFLAGS@ -I. -I$(PRJDIR) CFLAGS = @CFLAGS@ -Wall -DINDEXLIB -DMLH_MAP -DUNIX -DSDK -funsigned-char -ggdb @@ -42,17 +42,17 @@ ASXZ80 = $(PRJDIR)/bin/as-z80 all: checkconf $(ASXZ80) $(ASXZ80): $(ASOBJECTS) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(ASOBJECTS) + $(CC) $(CFLAGS) -o $@ $(ASOBJECTS) $(LDFLAGS) # Compiling and installing everything and runing test # --------------------------------------------------- install: all installdirs - $(INSTALL) -s $(ASXZ80) $(bindir)/as-z80 + $(INSTALL) $(ASXZ80) $(DESTDIR)$(bindir)/as-z80 # Deleting all the installed files # -------------------------------- uninstall: - rm -f $(bindir)/as-z80 + rm -f $(DESTDIR)$(bindir)/as-z80 # Performing self-test @@ -68,7 +68,7 @@ installcheck: # Creating installation directories # --------------------------------- installdirs: - $(INSTALL) -d $(bindir) + $(INSTALL) -d $(DESTDIR)$(bindir) # Creating dependencies