Changeset 4953


Ignore:
Timestamp:
07/20/12 06:29:23 (6 years ago)
Author:
quintiliani
Message:

Cleaned up ew2moledb makefile.ux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/archiving/mole/ew2moledb/makefile.ux

    r4952 r4953  
    1414MYSQL_CONFIG_PROG = $(MYSQL_CONFIG_PROG_PATH)/mysql_config 
    1515 
     16CFLAGS += `$(MYSQL_CONFIG_PROG) --cflags` 
     17 
    1618APP = ew2moledb 
    1719B = $(EW_HOME)/$(EW_VERSION)/bin 
     
    2628           $L/sleep_ew.o $L/time_ew.o $L/threads_ew.o $L/sema_ew.o  $L/dirops_ew.o 
    2729 
    28 all: static 
     30all: dynamic 
    2931 
    3032dynamic: $B/$(APP) 
    3133 
    3234static: $(BINARIES) 
    33         $(CC) -o $B/ew2moledb $(CFLAGS) $(LDFLAGS) $(MYSQL_CONNECTOR_C_PATH_BUILD)/lib/libmysqlclient.a $(BINARIES) -lpthread 
     35        $(CC) -o $B/ew2moledb $(CFLAGS) $(LDFLAGS) $(BINARIES) $(MYSQL_CONNECTOR_C_PATH_BUILD)/lib/libmysqlclient.a -lpthread 
    3436 
    3537$B/$(APP): $(BINARIES) 
    36         $(CC) -o $B/ew2moledb $(CFLAGS) `$(MYSQL_CONFIG_PROG) --cflags` $(LDFLAGS) `$(MYSQL_CONFIG_PROG) --libs_r` $(BINARIES) -lpthread 
     38        $(CC) -o $B/ew2moledb $(CFLAGS) $(LDFLAGS) `$(MYSQL_CONFIG_PROG) --libs_r` $(BINARIES) -lpthread 
    3739 
    3840.c.o: 
    39         $(CC) -c $(CFLAGS) `$(MYSQL_CONFIG_PROG) --cflags` $< 
     41        $(CC) -c $(CFLAGS) $< 
    4042 
    4143 
Note: See TracChangeset for help on using the changeset viewer.