summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2004-08-22 01:06:09 +0000
committerIan C <ianc@noddybox.co.uk>2004-08-22 01:06:09 +0000
commit09c566e6916d431606284a527ce373c103be39dc (patch)
treeb32cea5c524fb979a9ff3cc53d95f676f0e52982 /Makefile
parent1c7d0b339d578511be239c175ef2096e6e8aa6e2 (diff)
Initial working version
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4b4cb3..b5ea6ed 100644
--- a/Makefile
+++ b/Makefile
@@ -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