2f9fd6e6bd
This allows the entry properties to be set by the user. Review URL: https://chromiumcodereview.appspot.com//10832116 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10202 260f80e4-7a28-3924-810f-c04153c831b5
27 lines
853 B
Makefile
27 lines
853 B
Makefile
# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
# TODO(nweiz): replace this with a .gypi file
|
|
|
|
CC = gcc
|
|
CFLAGS = -fPIC -m32 -I ../../runtime/include/ -g
|
|
LDFLAGS = -shared -m32 -g -larchive -Wl,-soname,libdart_archive.so
|
|
|
|
all: libdart_archive.so
|
|
|
|
libdart_archive.so: dart_archive.o entry.o messaging.o reader.o
|
|
$(CC) $(LDFLAGS) -o $@ dart_archive.o entry.o messaging.o reader.o
|
|
|
|
dart_archive.o: dart_archive.c dart_archive.h
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
entry.o: entry.c entry.h messaging.h dart_archive.h
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
messaging.o: messaging.c messaging.h dart_archive.h
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
reader.o: reader.c reader.h entry.h messaging.h dart_archive.h
|
|
$(CC) $(CFLAGS) -c $<
|