Changeset 5775:80b9c11b4122 in roaraudio for build-system


Ignore:
Timestamp:
11/22/12 14:39:08 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

cleanup, general improvements and added support to build binaries with RABS

Location:
build-system
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • build-system/Makefile.plugin

    r5772 r5775  
    1919# Boston, MA 02110-1301, USA. 
    2020 
    21 TARGET      ?= $(BASENAME).so 
    22 OBJS        ?= $(BASENAME).o 
     21TARGET      ?= $(BASENAME)$(SHARED_SUFFIX) 
    2322 
    2423ROAR_CFLAGS := $(shell roar-config --cflags) 
    2524ROAR_LIBS   := $(shell roar-config --libs) 
    26 OPTI_O      ?= -O2 
    27 DEFINES     += -DBASENAME="\"$(BASENAME)\"" -DROAR_DBG_PREFIX="\"$(TARGET)\"" 
    28 CFLAGS      += -Wall $(Wextra) -g $(OPTI_O) $(fPIC) $(DEFINES) $(INCLUDE) $(INCPATH) $(ROAR_CFLAGS) 
    29 LDFLAGS     += -Wall $(Wextra) -g $(OPTI_O) $(SHARED) $(LDPATH) 
     25CFLAGS      += $(fPIC) 
     26LDFLAGS     += $(SHARED) 
    3027LIBS        += $(ROAR_LIBS) 
    3128 
    32 all: $(TARGET) 
    33 clean: 
    34         rm -f $(TARGET) *.o 
    35 new: clean all 
    36  
    37 $(TARGET): $(OBJS) 
    38         $(CC) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS) 
     29include $(ROAR_BUILDSYSTEM_DIR)/Makefile.common 
Note: See TracChangeset for help on using the changeset viewer.