Browse Source

added build

Cláudio Gomes 3 years ago
parent
commit
67a7d5f494

+ 15 - 0
SemanticAdaptationForFMI/Experiments/power_window_case_study/makefile

@@ -0,0 +1,15 @@
+CC=gcc
+CFLAGS=-IC:fmi2 -O0 -g3 -Wall -c -fmessage-length=0
+DEPS = $(wildcard *.h)
+SOURCES = $(wildcard *.c)
+OBJECTS = $(SOURCES:.c=.o)
+EXE = PowerWindowCaseStudy.exe
+
+exe: $(OBJECTS)
+	$(CC) -o Debug\$(EXE) $(OBJECTS) 
+
+%.o: %.c $(DEPS)
+	$(CC) -c -o $@ $< $(CFLAGS)
+
+clean:
+	rm -f Debug\$(EXE) $(OBJECTS)