f2b46629be
This is not quite finished yet, and therefore I have not added it to the usr.sbin/Makefile yet. I collected a bunch of Andrews small programs into one: pccardc /phk Reviewed by: phk Submitted by: Andrew McRae <andrew@mega.com.au>
33 lines
589 B
Makefile
33 lines
589 B
Makefile
#
|
|
# Makefile for PCMCIA card programs.
|
|
#
|
|
CFLAGS = -m486 -g # -DDEBUG
|
|
|
|
PROGS = dumpcis rdmap rdreg wrreg pccardmem wrattr enabler
|
|
|
|
all: $(PROGS)
|
|
|
|
clean:
|
|
rm -f *.core core *.o $(PROGS)
|
|
|
|
dumpcis: dumpcis.o readcis.o printcis.o
|
|
cc -o dumpcis -static dumpcis.o readcis.o printcis.o
|
|
|
|
wrattr: wrattr.c
|
|
cc $(CFLAGS) -o wrattr wrattr.c
|
|
|
|
pccardmem: pccardmem.c
|
|
cc $(CFLAGS) -o pccardmem pccardmem.c
|
|
|
|
enabler: enabler.c
|
|
cc $(CFLAGS) -o enabler enabler.c
|
|
|
|
rdmap: rdmap.c
|
|
cc $(CFLAGS) -o rdmap rdmap.c
|
|
|
|
rdreg: rdreg.c
|
|
cc $(CFLAGS) -o rdreg rdreg.c
|
|
|
|
wrreg: wrreg.c
|
|
cc $(CFLAGS) -o wrreg wrreg.c
|