Initial commit
This commit is contained in:
22
polarisation/makefile
Executable file
22
polarisation/makefile
Executable file
@@ -0,0 +1,22 @@
|
||||
CC=g++
|
||||
CFLAGS=-c -Wall --pedantic
|
||||
LDFLAGS=-Wall --pedantic
|
||||
SOURCES=functions.cpp synchrotron.cpp emission_pola.cpp
|
||||
OBJECTS=functions.o synchrotron.o emission_pola.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 boost/math/special_functions/bessel.hpp
|
||||
synchrotron.o: functions.h
|
||||
emission_pola.o: functions.h synchrotron.h
|
||||
Reference in New Issue
Block a user