Last change
on this file since 4988 was
4988,
checked in by amweeden06, 6 years ago
|
HPCU gprof ideal gas - initial commit
|
File size:
458 bytes
|
Line | |
---|
1 | # HPCU Bi-Weekly Challenge: Parallel Ideal Gas |
---|
2 | # Makefile |
---|
3 | # |
---|
4 | # @author Aaron Weeden, Shodor Education Foundation |
---|
5 | # @version 1.0 |
---|
6 | |
---|
7 | CC=gcc |
---|
8 | CFLAGS=-Wall --pedantic -pg |
---|
9 | LIBS=-lm |
---|
10 | EXECUTABLE=ideal-gas |
---|
11 | #DEPS=*.h |
---|
12 | OBJS=main.o initialization.o memory-management.o simulation.o \ |
---|
13 | output.o movement.o random.o |
---|
14 | SRC=main.c |
---|
15 | |
---|
16 | $(EXECUTABLE): $(OBJS) $(DEPS) |
---|
17 | $(CC) $(CFLAGS) -o $@ $^ $(LIBS) |
---|
18 | |
---|
19 | %.o: %.c $(DEPS) |
---|
20 | $(CC) $(CFLAGS) -c -o $@ $< |
---|
21 | |
---|
22 | clean: |
---|
23 | rm -f $(OBJS) $(EXECUTABLE) |
---|
Note: See
TracBrowser
for help on using the repository browser.