version 1.1, 2000/12/28 18:49:56
|
version 1.7, 2002/02/20 17:25:35
|
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= -g -mno-cygwin
|
imach : imach.o |
#CFLAGS= -g
|
$(CC) $(LFLAGS) -o imach imach.o |
|
imach.o : imach.c |
LFLAGS= -O3 -mno-cygwin
|
$(CC) $(LFLAGS) -c imach.c |
CFLAGS= -O3
|
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
|
|
|
|
|