Initial commit
This commit is contained in:
21
code_isotrope/makefile
Executable file
21
code_isotrope/makefile
Executable file
@@ -0,0 +1,21 @@
|
||||
CC=g++
|
||||
CFLAGS=-c -Wall --pedantic
|
||||
LDFLAGS=-Wall --pedantic
|
||||
SOURCES=functions.cpp emission_isotrope.cpp
|
||||
OBJECTS=functions.o emission_isotrope.o
|
||||
EXECUTABLE=projet
|
||||
|
||||
all: $(EXECUTABLE)
|
||||
|
||||
$(EXECUTABLE): $(OBJECTS)
|
||||
$(CC) $(LDFLAGS) $^ -o $@ ; ./$(EXECUTABLE) ; make clean ;
|
||||
|
||||
clean:
|
||||
$(RM) *.o $(EXECUTABLE)
|
||||
|
||||
depend:
|
||||
makedepend -Y $(SOURCES)
|
||||
# DO NOT DELETE
|
||||
|
||||
functions.o: functions.h
|
||||
emission_isotrope.o: functions.h
|
||||
Reference in New Issue
Block a user