diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -18,7 +18,7 @@ # # ------------------------------------------------------------------------- # -# $Id: Makefile,v 1.2 2004-08-21 01:15:19 ianc Exp $ +# $Id: Makefile,v 1.3 2004-08-22 01:06:09 ianc Exp $ # # CFLAGS assumes that gcc is being used - simply change as required @@ -29,15 +29,22 @@ TARGET = int2tap SOURCE = int2tap.c \ intel.c \ + basic.c \ tap.c OBJECTS = int2tap.o \ intel.o \ + basic.o \ tap.o +all: $(TARGET) $(TARGET).txt + $(TARGET): $(OBJECTS) $(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) +$(TARGET).txt: $(TARGET).1 + nroff -man $(TARGET).1 | sed 's/.//g' > $(TARGET).txt + clean: rm -f $(TARGET) $(OBJECTS) core |