Changeset 13 for Make


Ignore:
Timestamp:
12/18/2006 11:54:45 AM (13 years ago)
Author:
art
Message:
 
Location:
Make
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Make/Makedefs

    r12 r13  
    33#----------------------------------------------- 
    44TOPDIR ?= . 
    5 INCPATH = -I/usr/local/include -I/usr/include 
    6 LIBPATH = -L/usr/local/lib -L/usr/lib 
    75BUILDPATH = build 
    86VPATH =. $(BUILDPATH) 
     
    1311libdir = $(exec_prefix)/lib 
    1412incdir = $(exec_prefix)/include 
     13 
     14INCPATH ?= -I$(prefix)/include -I/usr/local/include -I/usr/include 
     15LIBPATH ?= -L$(prefix)/lib -L/usr/local/lib -L/usr/lib 
    1516 
    1617INST_LOCATION = $(prefix) 
  • Make/Makerules

    r12 r13  
    1313$(TARGET): $(OBJECTS)  
    1414        @ echo -n 'Create $@ ...' 
    15         @ $(CC) $(addprefix $(BUILDPATH)/,$(OBJECTS) ) -o $@ $(LDFLAGS) 
     15        @ $(CC) $(CFLAGS) $(addprefix $(BUILDPATH)/,$(OBJECTS) ) -o $@ $(LDFLAGS) 
    1616        @ echo 'OK' 
    1717 
Note: See TracChangeset for help on using the changeset viewer.