Subversion Repositories programming

Rev

Rev 294 | Rev 301 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 294 Rev 300
Line 1... Line 1...
1
 
1
 
2
CC      = gcc
2
CC      = gcc
3
CFLAGS  = -O2 -pipe
3
CFLAGS  = -O2 -pipe
4
OUTNAME = proj1
-
 
5
SRCS    = proj1.c
-
 
6
 
4
 
7
# targets:
5
# targets:
8
 
6
 
9
all: proj1
7
all: proj1-seq proj1-par
10
 
8
 
11
clean:
9
clean:
12
	rm -f *~ *.o $(OUTNAME)
10
	rm -f *~ *.o proj1-seq proj1-par
13
 
11
 
14
proj1:
12
proj1-seq:
15
	$(CC) $(CFLAGS) proj1.c -o $(OUTNAME)
13
	$(CC) $(CFLAGS) proj1.c -o proj1-seq
16
 
14
 
-
 
15
proj1-par:
-
 
16
	$(CC) $(CFLAGS) proj1-parallel.c -o proj1-par