--- imach/src/Makefile 2000/12/28 18:49:56 1.1.1.1 +++ imach/src/Makefile 2001/05/02 18:44:18 1.5 @@ -1,12 +1,23 @@ -# Makefile for imach -CC= gcc -#LFLAGS= -O2 -mno-cygwin -LFLAGS= -g -mno-cygwin -CFLAGS= -g - -imach : imach.o - $(CC) $(LFLAGS) -o imach imach.o -imach.o : imach.c - $(CC) $(LFLAGS) -c imach.c -graph : - ./wgnuplot graph.gp +#CC= gcc -v +CC= gcc +#LFLAGS= -v -g +#CFLAGS= -g + +LFLAGS= -O2 -g -mno-cygwin +CFLAGS= -O2 -g + +PARAM=mypar1 + +imach : imach.o + $(CC) $(LFLAGS) -o imach imach.o +imach.o : imach.c + $(CC) $(LFLAGS) -c imach.c +$(PARAM).htm: imach $(PARAM).txt data1.txt + ./imach $(PARAM).txt + +clean: + rm or$(PARAM).txt er$(PARAM).txt pijr$(PARAM).txt plr$(PARAM).txt \ + r$(PARAM).txt tr$(PARAM).txt vpl$(PARAM).txt pr$(PARAM).txt \ + vr$(PARAM).txt *.gif imach.exe imach.o + +