home *** CD-ROM | disk | FTP | other *** search
- #
- # Makefile for Mouse Library using Turbo C
- #
- INCLUDE= \tc\include
- LIB= \tc\lib
- CFLAGS= -f- -G -N- -O -Qe- -v- -Z -K -I$(INCLUDE)
- !if !$d(MODEL)
- MODEL=s
- !endif
- OBJS= m_init.obj \
- m_condit.obj \
- m_displa.obj \
- m_event.obj \
- m_graph_.obj \
- m_light_.obj \
- m_locate.obj \
- m_motion.obj \
- m_press.obj \
- m_ratio.obj \
- m_releas.obj \
- m_speed.obj \
- m_status.obj \
- m_text_c.obj \
- m_window.obj
-
- all:
- @echo Making -m$(MODEL) model mouse library
- del *.obj
- del mouse_$(MODEL).lib
- @make -DMODEL=$(MODEL) mlib
-
- mlib: $(OBJS)
- tlib mouse_$(MODEL) @names.res
-
- clean:
- del *.lib
- del *.obj
-
- .c.obj:
- tcc -c -m$(MODEL) $(CFLAGS) $<
-
- m_init.obj: m_init.c mouse.h
- m_condit.obj: m_condit.c mouse.h
- m_displa.obj: m_displa.c mouse.h
- m_event.obj: m_event.c mouse.h
- m_graph_.obj: m_graph_.c mouse.h
- m_light_.obj: m_light_.c mouse.h
- m_locate.obj: m_locate.c mouse.h
- m_motion.obj: m_motion.c mouse.h
- m_press.obj: m_press.c mouse.h
- m_ratio.obj: m_ratio.c mouse.h
- m_releas.obj: m_releas.c mouse.h
- m_speed.obj: m_speed.c mouse.h
- m_status.obj: m_status.c mouse.h
- m_text_c.obj: m_text_c.c mouse.h
- m_window.obj: m_window.c mouse.h