X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Makefile;h=010fe2851ec37281753482d8d565ccd0cc001240;hb=6d297b506314c07bff3d77c2853a5f59380cfcb0;hp=3679ee7955bac9a976f952ef35928bd2b8f2a646;hpb=fab9ed5163a8f4ef5314bc67e48d1690d1126649;p=gldbg.git diff --git a/Makefile b/Makefile index 3679ee7..010fe28 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,8 @@ SOURCES_libgldbg := source/gldecoder.c \ source/enums.c \ source/arraysize.c \ source/tmpalloc.c \ - source/packet.c + source/packet.c \ + source/functions.c SOURCES_glwrap := source/glwrap.c \ source/glwrap_funcs.c \ source/arraysize.c \ @@ -37,6 +38,7 @@ SOURCES_inspector := source/inspector.cpp \ source/texturestate.cpp \ source/bufferstate.cpp TEMPLATES := source/functions.enum.t \ + source/functions.table.t \ source/gldecoder.funcs.t \ source/gldecoder.struct.t \ source/glprint.funcs.t \ @@ -69,6 +71,7 @@ $(OBJECTS_gldbg): CXXFLAGS += $(shell pkg-config --cflags $(PACKAGES_gldbg)) gldbg: LIBS += $(shell pkg-config --libs $(PACKAGES_gldbg)) -lreadline gldump gldbg: LIBS += ./libgldbg.a glwrap.so: LDFLAGS += -s +glwrap.so: LIBS += -ldl glwrap.so: $(OBJECTS_glwrap) glwrap.ld $(CC) -shared -o $@ $^ $(LIBS) $(LDFLAGS)