diff options
author | brenda-br | 2023-02-23 22:14:39 +0530 |
---|---|---|
committer | brenda-br | 2023-02-23 22:14:39 +0530 |
commit | d476d2e053f937c0060f696312f301591e4f43ea (patch) | |
tree | 5d1643ba487082f986d8cc1868fba482293f1e37 /src/main/Simulator/Flowsheet.makefile | |
parent | c5f533673ea9ab4315e76940f6d014e349f97884 (diff) | |
download | Chemical-Simulator-GUI-d476d2e053f937c0060f696312f301591e4f43ea.tar.gz Chemical-Simulator-GUI-d476d2e053f937c0060f696312f301591e4f43ea.tar.bz2 Chemical-Simulator-GUI-d476d2e053f937c0060f696312f301591e4f43ea.zip |
Restructure Code -1
Diffstat (limited to 'src/main/Simulator/Flowsheet.makefile')
-rw-r--r-- | src/main/Simulator/Flowsheet.makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/main/Simulator/Flowsheet.makefile b/src/main/Simulator/Flowsheet.makefile new file mode 100644 index 0000000..a690ef4 --- /dev/null +++ b/src/main/Simulator/Flowsheet.makefile @@ -0,0 +1,35 @@ +# Makefile generated by OpenModelica + +# Simulations use -O3 by default +CC=gcc +CXX=g++ +LINK=g++ -shared -Xlinker --export-all-symbols -fPIC +EXEEXT=.exe +DLLEXT=.dll +CFLAGS_BASED_ON_INIT_FILE= +DEBUG_FLAGS= +CFLAGS=$(CFLAGS_BASED_ON_INIT_FILE) $(DEBUG_FLAGS) ${SIM_OR_DYNLOAD_OPT_LEVEL} -falign-functions -msse2 -mfpmath=sse ${MODELICAUSERCFLAGS} +CPPFLAGS= -I"C:/OpenModelica1.12.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Flowsheet -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=14 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 +LDFLAGS=-L"C:/Users/thant/OneDrive/Desktop/IITB Capstone/Main Project/Chemical-Simulator-GUI/src/main/Simulator" -L"C:/OpenModelica1.12.0-64bit//lib//omc" -L"C:/OpenModelica1.12.0-64bit//lib" -Wl,--stack,16777216,-rpath,"C:/OpenModelica1.12.0-64bit//lib//omc" -Wl,-rpath,"C:/OpenModelica1.12.0-64bit//lib" -lregex -lexpat -lomcgc -lpthread -fopenmp -loleaut32 -limagehlp -lz -lhdf5 -lSimulationRuntimeC -lomcgc -lexpat -lregex -static-libgcc -luuid -loleaut32 -lole32 -limagehlp -lws2_32 -llis -lumfpack -lklu -lcolamd -lbtf -lamd -lsundials_idas -lsundials_kinsol -lsundials_nvecserial -lipopt -lcoinmumps -lpthread -lm -lgfortranbegin -lgfortran -lmingw32 -lgcc_eh -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lopenblas -lcminpack -lwsock32 -lstdc++ +MAINFILE=Flowsheet.c +MAINOBJ=Flowsheet.o +CFILES=Flowsheet_functions.c Flowsheet_records.c \ +Flowsheet_01exo.c Flowsheet_02nls.c Flowsheet_03lsy.c Flowsheet_04set.c Flowsheet_05evt.c Flowsheet_06inz.c Flowsheet_07dly.c \ +Flowsheet_08bnd.c Flowsheet_09alg.c Flowsheet_10asr.c Flowsheet_11mix.c Flowsheet_12jac.c Flowsheet_13opt.c Flowsheet_14lnz.c \ +Flowsheet_15syn.c Flowsheet_16dae.c Flowsheet_17inl.c + +OFILES=$(CFILES:.c=.o) +GENERATEDFILES=$(MAINFILE) Flowsheet.makefile Flowsheet_literals.h Flowsheet_functions.h $(CFILES) + +.PHONY: omc_main_target clean bundle + +# This is to make sure that Flowsheet_*.c are always compiled. +.PHONY: $(CFILES) + +omc_main_target: $(MAINOBJ) Flowsheet_functions.h Flowsheet_literals.h $(OFILES) + $(CC) -I. -o Flowsheet$(EXEEXT) $(MAINOBJ) $(OFILES) $(CPPFLAGS) -L"C:/Users/thant/OneDrive/Desktop/IITB Capstone/Main Project/Chemical-Simulator-GUI/src/main/Simulator" $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) +clean: + @rm -f Flowsheet_records.o $(MAINOBJ) + +bundle: + @tar -cvf Flowsheet_Files.tar $(GENERATEDFILES)
\ No newline at end of file |