REG_OBJS= kerberos.o protocol.o reg_svr.o words.o
START_OBJS= startreg.o
-GEN_OBJS= genkey.o
+GENKEY_OBJS= genkey.o
+GENWORDS_OBJS= genwords.o words.o
CFILES= reg_svr.c
-TARGET= reg_svr startreg genkey
+TARGET= reg_svr startreg genkey genwords
.SUFFIXES: .pc
all: $(TARGET)
clean:
- rm -f $(REG_OBJS) $(START_OBJS) $(CFILES) $(TARGET)
+ rm -f $(REG_OBJS) $(START_OBJS) $(GENKEY_OBJS) $(GENWORDS_OBJS) \
+ $(CFILES) $(TARGET)
depend: $(CFILES)
startreg: $(START_OBJS)
$(CC) -o $@ $(LDFLAGS) $(START_OBJS) $(LIBS)
-genkey: $(GEN_OBJS)
- $(CC) -o $@ $(LDFLAGS) $(GEN_OBJS) $(LIBS)
+genkey: $(GENKEY_OBJS)
+ $(CC) -o $@ $(LDFLAGS) $(GENKEY_OBJS) $(LIBS)
+
+genwords: $(GENWORDS_OBJS)
+ $(CC) -o $@ $(LDFLAGS) $(GENWORDS_OBJS) $(LIBS)