summaryrefslogtreecommitdiff
path: root/web/funnelAC/fwACsrc/Makefile.unix
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/funnelAC/fwACsrc/Makefile.unix
Initial commit
Diffstat (limited to 'web/funnelAC/fwACsrc/Makefile.unix')
-rw-r--r--web/funnelAC/fwACsrc/Makefile.unix61
1 files changed, 61 insertions, 0 deletions
diff --git a/web/funnelAC/fwACsrc/Makefile.unix b/web/funnelAC/fwACsrc/Makefile.unix
new file mode 100644
index 0000000000..adf04618e1
--- /dev/null
+++ b/web/funnelAC/fwACsrc/Makefile.unix
@@ -0,0 +1,61 @@
+# ABC Anthony B. Coates, makefile for FunnelWeb
+
+.SUFFIXES: .c .o .a
+
+# Set the C compiler to be CC or GCC as appropriate
+#CC=cc
+CC=gcc -g -O -c -Wall
+
+# Linker/loader
+LD=gcc -g -O
+
+# Libraries, etc.
+LIBS=
+
+# Make
+MAKE=make
+
+# Remove/delete
+RM=\rm
+
+# List directory
+LS=ls
+
+# Directory separator
+DSP=/
+
+# FunnelWeb executable file name
+FWX=fw
+
+# Command script for running tests
+TEST=cd ../scripts ; ../fwACsrc/fw +xmaster
+
+# The full list of FunnelWeb C source files
+SRC=\
+analyse.c as.c clock.c command.c data.c \
+dump.c help.c help_gnu.c list.c lister.c \
+machin.c main.c mapper.c fwmem.c misc.c \
+option.c parser.c scanner.c section.c table.c \
+tangle.c texhead.c weave.c writfile.c htmlhead.c
+
+# The full list of FunnelWeb object files
+OBJ=$(SRC:.c=.o)
+
+# The list of FunnelWeb object files/libraries
+OBJLIST=$(OBJ)
+
+all: $(FWX) test
+
+$(FWX): $(OBJLIST)
+ $(LD) -o $(FWX) $(OBJLIST) $(LIBS)
+
+.c.o:
+ $(CC) $<
+
+test:
+ $(TEST)
+
+clean:
+ $(RM) *.o
+
+# end of Makefile