JPRED-2 Add sources of all binaries (except alscript) to Git
[jpred.git] / sources / seg / makefile
diff --git a/sources/seg/makefile b/sources/seg/makefile
new file mode 100644 (file)
index 0000000..adf6f52
--- /dev/null
@@ -0,0 +1,16 @@
+CC=gcc
+
+all : seg
+
+seg : seg.c lnfac.h genwin.h genwin.o
+       ${CC} -O -o seg seg.c genwin.o -lm
+
+hiseg : hiseg.c lnfac.h genwin.h genwin.o
+       ${CC} -O -o hiseg hiseg.c genwin.o -lm
+
+genwin.o : genwin.c genwin.h
+       ${CC} -O -c genwin.c
+
+clean:
+       rm -f seg seg.o genwin.o
+