version 1.1, 2000/12/28 18:49:56
|
version 1.6, 2001/05/17 16:07:14
|
Line 1
|
Line 1
|
# Makefile for imach |
#CC= gcc -v
|
CC= gcc |
CC= gcc
|
#LFLAGS= -O2 -mno-cygwin |
#LFLAGS= -v -g
|
LFLAGS= -g -mno-cygwin |
#CFLAGS= -g
|
CFLAGS= -g |
|
|
#LFLAGS= -O2 -g -mno-cygwin
|
imach : imach.o |
#CFLAGS= -O2 -g
|
$(CC) $(LFLAGS) -o imach imach.o |
|
imach.o : imach.c |
LFLAGS= -O2 -mno-cygwin
|
$(CC) $(LFLAGS) -c imach.c |
CFLAGS= -O2
|
graph : |
|
./wgnuplot graph.gp |
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
|
|
|
|
|