home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
PROGRAM
/
CBGRX100.ZIP
/
CONTRIB
/
LIBGRX
/
EVENTS
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1992-04-10
|
2KB
|
93 lines
# DEBUG= -v -DDEBUG=1
TCCOPT= -O -G -Z -w -d $(DEBUG)
GCCOPT= -O
all: ../lib/libqueue.a evtst386.exe
turboc: ..\lib\queues.lib \
..\lib\queuem.lib \
..\lib\queuec.lib \
..\lib\queuel.lib \
..\lib\queueh.lib \
evtest.exe
evtest.exe: evtest.c ..\lib\queues.lib
tcc -ms -eevtest $(TCCOPT) evtest.c ..\lib\queues.lib
evtst386: evtest.c ../lib/libqueue.a
gcc -g -o evtst386 $(GCCOPT) -L../lib evtest.c -lqueue
evtst386.exe: evtest.c ../lib/libqueue.a
gcc -o evtst386 $(GCCOPT) -L../lib evtest.c -lqueue
strip evtst386
aout2exe evtst386
del evtst386
..\lib\queues.lib: event.obs nextevnt.obs evintr.obj
-del ..\lib\queues.lib
tlib ..\lib\queues.lib /c +event.obs +nextevnt.obs +evintr.obj
..\lib\queuem.lib: event.obm nextevnt.obm evintr.obj
-del ..\lib\queuem.lib
tlib ..\lib\queuem.lib /c +event.obm +nextevnt.obm +evintr.obj
..\lib\queuec.lib: event.obc nextevnt.obc evintr.obj
-del ..\lib\queuec.lib
tlib ..\lib\queuec.lib /c +event.obc +nextevnt.obc +evintr.obj
..\lib\queuel.lib: event.obl nextevnt.obl evintr.obj
-del ..\lib\queuel.lib
tlib ..\lib\queuel.lib /c +event.obl +nextevnt.obl +evintr.obj
..\lib\queueh.lib: event.obh nextevnt.obh evintr.obj
-del ..\lib\queueh.lib
tlib ..\lib\queueh.lib /c +event.obh +nextevnt.obh +evintr.obj
evintr.obj: evintr.asm
tasm /mx evintr.asm
../lib/libqueue.a: nextevnt.o event32.o
-del ..\lib\libqueue.a
ar -rvs ../lib/libqueue.a nextevnt.o event32.o
#
# Dependencies:
#
EVENT_OBJ= event.obs event.obm event.obc event.obl event.obm
NEXTEVNT_OBJ= nextevnt.obs nextevnt.obm nextevnt.obc nextevnt.obl nextevnt.obm
$(EVENT_OBJ): eventque.h
$(NEXTEVNT_OBJ): eventque.h
nextevnt.o: eventque.h
event32.o: eventque.h
#
# Rules:
#
.c.obs:
tcc -c -ms $(TCCOPT) -o$*.obs $*.c
.c.obm:
tcc -c -mm $(TCCOPT) -o$*.obm $*.c
.c.obc:
tcc -c -mc $(TCCOPT) -o$*.obc $*.c
.c.obl:
tcc -c -ml $(TCCOPT) -o$*.obl $*.c
.c.obh:
tcc -c -mh $(TCCOPT) -o$*.obh $*.c
.c.o:
gcc -c $(GCCOPT) $*.c