Hash :
c7f1dc92
Author :
Date :
2001-06-25T22:14:38
Mention $(INCLUDES) before $(CPPFLAGS) and $(CFLAGS), in case one of these contains -I directives.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
# Makefile for libiconv/src, OS2/EMX specific
#
# requires EMX/GCC development environment and
# GNU fileutils and GNU textutils installed
#
#### Start of system configuration section. ####
# Programs used by "make":
CC = gcc
CFLAGS = -O2 -Zmtd
INCLUDES = -I. -I../include
# Directories used by "make install":
prefix = @prefix@
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
#### End of system configuration section. ####
srcdir = .
.SUFFIXES: .obj .o
all : iconv.exe
iconv.exe : iconv.c
$(CC) $(INCLUDES) -I../lib $(CFLAGS) iconv.c ../lib/iconv.a
copy ..\lib\iconv.dll iconv.dll
install : all force
cp -i iconv.exe $(bindir)/iconv.exe
uninstall : force
rm -f $(bindir)/iconv.exe
check : all
mostlyclean : clean
clean : force
rm -f *.obj *.dll *.exe core
distclean : clean
rm -f Makefile
maintainer-clean : distclean
force :