############################################################################### # # makefile for lowlevel UltraSound libraries & example code # ############################################################################### # # This makefile will build the objects in a subdir called watcom. # The library is built in the current directory from those objs. # Make sure that subdir exists before making the library. # ############################################################################### INCS=c:\wc\h;..\incs #DEBUG = /d2 ############################################################################### # Transformation rules # Compile all .c files with the Watcom C9.0/386 compiler # Flat model ............. ############################################################################### .path.obj = .\watcom .c.obj: wcc386 $(DEBUG) /s /3r /oailsx /e10 /fo=watcom\$&.obj /mf /i=$(INCS) $&.c .autodepend all: ult16wc.lib ############################################################################### # # LEVEL 0 Stuff # ############################################################################### FILE01= freq16p.obj freq16r.OBJ handle16.OBJ irq16.OBJ open16.OBJ play16.OBJ sample16.OBJ util16.OBJ vars16.OBJ timer16.obj probe16.obj mixer16.obj ############################################################################### # ANY MODEL ............. ############################################################################### ult16wc.lib: $(FILE01) cd watcom c:\wc\binb\wlib ..\ult16wc.lib @..\ultra16.dat cd .. clean: del ult16wc.lib cd watcom del *.obj cd ..