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