some chunk handling, fixes
[ia32rtools.git] / tools / Makefile
index 7c03266..5837767 100644 (file)
@@ -1,6 +1,15 @@
 CFLAGS += -Wall -ggdb
+ifndef DEBUG
+CFLAGS += -O2
+endif
 
-all: asmproc cmpmrg_text
+T = asmproc cmpmrg_text mkbridge translate
+
+all: $(T)
 
 clean:
-       $(RM) asmproc cmpmrg_text
+       $(RM) $(T) *.o
+
+translate: translate.o
+mkbridge: mkbridge.o
+mkbridge.o translate.o: protoparse.h my_assert.h my_str.h