Changeset 4 for sources/src/Makefile


Ignore:
Timestamp:
Mar 10, 2008, 12:37:25 PM (17 years ago)
Author:
nipo
Message:

Towards SystemC-2.2 LRM:

  • Implement sc_time with units
  • Have a systemc header with no namespace pollution
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/Makefile

    r3 r4  
    1010# |                                                             |
    1111# \------------------------------------------------------------*/
    12 ifndef SYSTEMC
    13 $(error SYSTEMC is not defined. This variable should be set to SystemCASS \
    14 directory when SYSTEMCASS variable is not set.)
    15 endif
    1612ifndef SYSTEMCASS
    1713$(error SYSTEMCASS is not defined. This variable has to be defined to install \
     
    186182
    187183EXTERNAL_INCLUDES = \
     184              ${SYSTEMCASS_INCLUDEDIR}/systemc \
    188185              ${SYSTEMCASS_INCLUDEDIR}/systemc.h \
    189186              ${SYSTEMCASS_INCLUDEDIR}/sc_fwd.h\
     
    289286        cp $*.h ${SYSTEMCASS_INCLUDEDIR}/$*.h
    290287
     288${SYSTEMCASS_INCLUDEDIR}/systemc: systemc
     289        cp $< $@
     290
    291291${SYSTEMCASS_DOCDIR}/%.pdf: %.pdf
    292292        cp $*.pdf ${SYSTEMCASS_DOCDIR}/$*.pdf
     
    348348        ./guess_endianness.x > ${SYSTEMCASS_INCLUDEDIR}/endianness.h
    349349
    350 include Makefile.deps
     350-include Makefile.deps
    351351
    352352##################
     
    374374#### CLEANING
    375375clean :
    376         echo > Makefile.deps
     376        rm -f Makefile.deps
    377377        rm -f *~
    378378        rm -f $(OBJECTS)
Note: See TracChangeset for help on using the changeset viewer.