1 #-----------------------------------------------------------------------------
2 # Copyright (c) 1992 Regents of the University of Michigan.
5 # Redistribution and use in source and binary forms are permitted
6 # provided that this notice is preserved and that due credit is given
7 # to the University of Michigan at Ann Arbor. The name of the University
8 # may not be used to endorse or promote products derived from this
9 # software without specific prior written permission. This software
10 # is provided ``as is'' without express or implied warranty.
12 # lightweight ber library makefile for MicroSoft C
14 #-----------------------------------------------------------------------------
16 SRCS = decode.c encode.c io.c msdos.c lp.c
17 OBJS = decode.obj encode.obj io.obj msdos.obj lp.obj
19 CFLAGS = $(ACFLAGS) -I../h
20 CC = echo "cd up a level first"
22 NCFLAGS = -I../../include
25 # (cd ../; make lber-library)
27 all: $(OBJS) liblber.lib
30 $(CC) $(CFLAGS) decode.c
33 $(CC) $(CFLAGS) encode.c
39 $(CC) $(CFLAGS) $(NCFLAGS) msdos.c
42 $(CC) $(CFLAGS) $(NCFLAGS) lp.c
46 lib liblber.lib +decode.obj+encode.obj+io.obj+msdos.obj+lp.obj;
49 # $(CC) $(CFLAGS) etest.c
51 #etest: liblber.lib etest.obj
52 # $(LD) $(LDFLAGS) etest,etest,nul,liblber
55 # $(CC) $(CFLAGS) dtest.c
57 #dtest: liblber.lib dtest.obj
58 # $(LD) $(LDFLAGS) dtest,dtest,nul,liblber