home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
432b.lha
/
EzLib
/
src
/
makefile
< prev
next >
Wrap
Makefile
|
1990-11-10
|
1KB
|
56 lines
# this is a somewhat stupid makefile. I still haven't learned the
# subtleties of the .c.o rules... sigh
#
# This will compile and make the library. I make use of a pre-compiled
# header file as it makes compile times *much* faster. Everything should
# work as is if you have to rebuild the library (at least I hope so).
#
# Oh BTW, the demo that is in the directory above this one is created in
# this makefile. This is to test out the library, and if you make changes
# you should make sure that the demo still works
#
# header.h is actually the precompiled header file
CFLAGS = +L +Iinclude/header.h
OBJS= getstring.o getfont.o getyn.o gadget.o window.o screen.o openlibs.o
all : demo ez.lib include/header.h
include/header.h : include/includes.h
cc +L +Hinclude/header.h includes.h
demo : ez.lib demo.o
ln -o demo demo.o ez.lib -lc
demo.o : demo.c
cc $(CFLAGS) demo.c
ez.lib : $(OBJS)
lb ez $(OBJS)
openlibs.o : openlibs.c ezlib.h
cc $(CFLAGS) openlibs.c
screen.o : screen.c ezlib.h
cc $(CFLAGS) screen.c
window.o : window.c ezlib.h
cc $(CFLAGS) window.c
gadget.o : gadget.c ezlib.h
cc $(CFLAGS) gadget.c
getyn.o : getyn.c ezlib.h
cc $(CFLAGS) getyn.c
getfilename.o : getfilename.c ezlib.h
cc $(CFLAGS) getfilename.c
getfont.o : getfont.c ezlib.h
cc $(CFLAGS) getfont.c
getstring.o : getstring.c ezlib.h
cc $(CFLAGS) getstring.c