CFLAGS= -ff -hi i.dmp
# CFLAGS +l -s           for Manx 3.6, also -lm32 -lc32 in ln

.c.o32:
        cc $(CFLAGS) -o $@ $*.c

test.o32: test.c 3d.c
        cc $(CFLAGS) -o test.o32 test.c

test: test.o32
        ln test.o32 +Q -lmf -lc

test2: test2.o32
        ln test2.o32 +Q -lmf -lc

cube: cube.o32
        ln cube.o32 +Q -lmf -lc

p_cube: p_cube.o32
        ln p_cube.o32 ram:profutl.o +Q -lmf -lc

x: x.c
        cc -ff x.c -o x.o32
        ln x.o32 +Q -lmf -lc

filt: filt.c
        cc filt.c -o filt.o32
        ln filt.o32 +Q -lc

i.dmp: include.c
                cc -ho i.dmp include.c
