X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=device%2Finclude%2FMakefile.in;h=52cde817b07fdc0c67a8b4dc8f93eb8a99463ec8;hb=19eb37fd0abc83f9e2491a3f9ac2033363954852;hp=90098b7b7bbcc3e5abd4cb65d52d8bd43694dee5;hpb=de1b4914da04b29ae3751b3d3228452e2ff3d070;p=fw%2Fsdcc diff --git a/device/include/Makefile.in b/device/include/Makefile.in index 90098b7b..52cde817 100644 --- a/device/include/Makefile.in +++ b/device/include/Makefile.in @@ -19,6 +19,7 @@ exec_prefix = @exec_prefix@ bindir = @bindir@ libdir = @libdir@ datadir = @datadir@ +sdcc_datadir = @sdcc_datadir@ includedir = @includedir@ mandir = @mandir@ man1dir = $(mandir)/man1 @@ -33,17 +34,16 @@ CPPFLAGS = @CPPFLAGS@ -I$(PRJDIR) # ------------------------------------------ all: - # Compiling and installing everything and runing test # --------------------------------------------------- install: all installdirs - $(CP) *.h $(datadir)/include/ + $(CP) -r asm *.h $(sdcc_datadir)/include/ # Deleting all the installed files # -------------------------------- uninstall: - for hdr in *.h; do rm -f $(datadir)/$$hdr; done + rm -rf $(sdcc_datadir)/include # Performing self-test @@ -59,7 +59,7 @@ installcheck: # Creating installation directories # --------------------------------- installdirs: - [ -d $(datadir)/include ] || mkdir -p $(datadir)/include + [ -d $(sdcc_datadir)/include ] || mkdir -p $(sdcc_datadir)/include # Creating dependencies