home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: SysTools
/
SysTools.zip
/
ft-beta.zip
/
freetype
/
lib
/
arch
/
os2
/
Makefile.emx
< prev
next >
Wrap
Makefile
|
1997-10-06
|
999b
|
48 lines
# This file is part of the FreeType project.
#
# It builds the library and test programs for emx-gcc under OS/2.
#
# You will need GNU make.
#
# Use this file while in the lib directory with the following statement:
#
# make -f arch/os2/Makefile.emx
CC = gcc
CFLAGS = -Wall -O2 -g -ansi -pedantic -Iarch/os2 -I. -Iextend
#CFLAGS = -Wall -ansi -pedantic -O2 -s -Iarch/os2 -I. -Iextend
SRC = ttapi.c ttcache.c ttcalc.c ttcmap.c ttdebug.c tterror.c \
ttfile.c ttfile2.c ttgload.c ttinterp.c ttlists.c ttload.c \
ttmemory.c ttmutex.c ttobjs.c ttraster.c \
\
extend/ttextend.c extend/ttgasp.c extend/ttkern.c
OBJ = $(SRC:.c=.o)
all: libttf.a
libttf.a: $(OBJ)
-del $@
ar src $@ $^
clean:
-del *.o
-del extend\ttextend.o
-del extend\ttkern.o
distclean: clean
-del dep.end
-del libttf.a
depend:
$(CC) -E -M $(SRC) > dep.end
ifeq (dep.end,$(wildcard dep.end))
include dep.end
endif
# end of Makefile.emx