CVS: jtag/hardware_access makefile,1.6,1.7
Chris Liechti <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/jtag/hardware_access
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4388/hardware_access
Modified Files:
makefile
Log Message:
fixes to allow compiler override with CC=...
Index: makefile
===================================================================
RCS file: /cvsroot/mspgcc/jtag/hardware_access/makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- makefile 25 Sep 2005 02:32:41 -0000 1.6
+++ makefile 13 Oct 2005 01:04:39 -0000 1.7
@@ -9,6 +9,7 @@
CFLAGS += -mno-cygwin -mdll
targets = libHIL.a HIL.dll
else
+ CFLAGS += -fPIC
LNOPTS = -fPIC -shared
targets = libHIL.a libHIL.so
ifdef DIRECTIO
@@ -28,10 +29,10 @@
${AR} rc $@ $?
libHIL.so: HIL.o
- gcc ${LNOPTS} -o $@ $<
+ $(CC) ${LNOPTS} -o $@ $<
HIL.dll: HIL.o FORCE
- gcc ${LNOPTS} $< -o $@
+ $(CC) ${LNOPTS} $< -o $@
install:
install -m 644 libHIL.so ${LIB_PREFIX}/libHIL.so
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl