Is the following kosher?

shell32src=libsrc/shell32.c

lib32_LIBRARIES += lib32/libshell32.a
lib32_libshell32_a_SOURCES = $shell32src
lib32_libshell32_a_CPPFLAGS = -m32

lib64_LIBRARIES += lib64/libshell32.a
lib64_libshell32_a_SOURCES = $shell32src


Basically, all the sources are the same, so I don't want to list them
twice (and subsequently maintain two lists and forget to keep updating
the two lists.)  The only difference is adding the -m32 flag (which
I'm hoping is correctly placed in CPPFLAGS, and not CFLAGS... I never
remember which flags go where).

So is it ok to do the variable thing?


Reply via email to