Browse Source

- added special README.aix for hints on AIX systems

- added a special makefile for AIX make


git-svn-id: https://sdvsvn10.slub-dresden.de/svn/Langzeitarchivierung/trunk/fixit/fixit_tiff@330 c63e1d0e-0205-4395-96c5-23d0ee883611
tags/v0.1
romeyke 6 years ago
parent
commit
f5cb93bdc6
2 changed files with 34 additions and 0 deletions
  1. +7
    -0
      README.aix
  2. +27
    -0
      makefile.aix

+ 7
- 0
README.aix View File

@@ -0,0 +1,7 @@
Because AIX is something different, here some hints to compile:
1. check if you have gcc, if so then set environment to "CC=gcc"
2. check if your make-command is AIX original, then call "make -f makefile.aix"
3. if your make-command is GNU make, then call just "make"

(Hint: the reason for 2. is, that AIX make has differences usign $< within
makefiles)

+ 27
- 0
makefile.aix View File

@@ -0,0 +1,27 @@
LIB+=-ltiff
CFLAGS=-Os

# default target
all: fixit_tiff

# remove debugging symbols (smaller size)
strip: all
strip --strip-all fixit_tiff

%.o: %.c
$(CC) $(CFLAGS) $(INC) -c $<

# default executable
fixit_tiff: fixit_tiff.o
$(CC) $(CFLAGS) $(INC) $(LIB) -o $@ fixit_tiff.o

# clean workdir
clean:
@rm -f *.o
@rm -f fixit_tiff

# mrproper clean
distclean: clean
@rm -f *~

.PHONY: all clean distclean strip

Loading…
Cancel
Save