File: makefile

package info (click to toggle)
ampliconnoise 1.29-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,348 kB
  • sloc: ansic: 18,085; sh: 2,901; perl: 2,089; makefile: 245
file content (16 lines) | stat: -rwxr-xr-x 296 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CC     = mpicc
CFLAGS += -O3
EFLAGS = $(LDFLAGS)
EFILE  = PyroDist
LIBS   = -lm $(MPI_LIBS)
OBJS   = PyroDist.o

$(EFILE) : $(OBJS)
	@echo "linking..."
	$(CC) $(EFLAGS) -o $(EFILE) $(OBJS) $(LIBS)

$(OBJS) : PyroDist.c PyroDist.h
	$(CC) $(CPPFLAGS) $(CFLAGS) -c $*.c

clean:
	rm -rf *.o PyroDist