X-Git-Url: https://git.llucax.com/z.facultad/75.68/celdas.git/blobdiff_plain/3614a9b0d6ac477997b3b88d7362494e55538dc3..23a9bf3c98b449186144927de87462f33dd47587:/trunk/src/Makefile?ds=sidebyside diff --git a/trunk/src/Makefile b/trunk/src/Makefile index 42ef74e..cb15e54 100644 --- a/trunk/src/Makefile +++ b/trunk/src/Makefile @@ -1,9 +1,14 @@ -CXXFLAGS=-Wall -g +BREVEDIR=../../breve_2.4/plugins +CXXFLAGS=-Wall -g -I$(BREVEDIR) -targets=test +targets=test plugin.so all: $(targets) + +plugin.so: plugin.o $(BREVEDIR)/brevePlugin.a + $(CXX) $(CPPFLAGS) -shared -o $@ plugin.o $(BREVEDIR)/brevePlugin.a + test: main.o sistemaautonomo.o $(CXX) $(LDFLAGS) -o test *.o @@ -13,3 +18,5 @@ clean: depend: makedepend -- $(CFLAGS) -- *.cpp +main.o: main.h sistemaautonomo.h indicemagico.h +sistemaautonomo.o: sistemaautonomo.h indicemagico.h