3a_asm: ghc flags
[calu.git] / 3c_disasm / instr / Makefile
index e0e553a69a1449722f5b7aaf53f5ab49f73b4746..e010bfe7da3d0ecde74131121bc463c77534f9ff 100644 (file)
@@ -7,7 +7,7 @@ all: $(libs:.cpp=.so)
 
 
 $(libs:.cpp=.so): ${@:.so=.d}
-       $(CC) -fPIC -I../ -c  -o ${@:.so=.o} ${@:.so=.cpp}
+       $(CC) $(CPPFLAGS) -fPIC -I../ -c  -o ${@:.so=.o} ${@:.so=.cpp}
        $(CC) $(CPPLIBOPT) -Wl,-soname,${@} -o ${@} ${@:.so=.o}
 
 .PHONY:clean