source: /cluster/svnroot/bccd-ng/hpcu-weekly-challenge/parallel-ideal-gas/serial/Makefile @ 4940

Last change on this file since 4940 was 4940, checked in by amweeden06, 6 years ago

HPCU Parallel Ideal Gas - adding return of final ratio and fixing makefile

File size: 453 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
7CC=gcc
8CFLAGS=-Wall --pedantic
9LIBS=-lm
10EXECUTABLE=ideal-gas
11DEPS=*.h
12OBJS=main.o initialization.o memory-management.o simulation.o \
13        output.o movement.o random.o
14SRC=main.c
15
16$(EXECUTABLE): $(OBJS) $(DEPS)
17        $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
18
19%.o: %.c $(DEPS)
20        $(CC) $(CFLAGS) -c -o $@ $<
21
22clean:
23        rm -f $(OBJS) $(EXECUTABLE)
Note: See TracBrowser for help on using the repository browser.