My favorites | Sign in
Project Home Downloads Wiki Issues Source
Repository:
Checkout   Browse   Changes   Clones  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
SRC = ncd.c

LDFLAGS = -lbz2 -lz
CFLAGS += -Wall
mkdir = mkdir -p
CD = cd
RM = rm -f

EXT_ZIP = z/z.o bz2/bz2.o

LIBNAME = "libncd"

OBJ = $(SRC:.c=.o)

.SILENT:

all : ZIP $(OBJ) LIBNCD

ZIP :
cd z && make
cd bz2 && make

LIBNCD :
$(CC) -o $(LIBNAME).so $(OBJ) $(EXT_ZIP) -shared $(LDFLAGS)

clean :
$(RM) *.o $(LIBNAME).so
cd z && make clean
cd bz2 && make clean

%.o : %.c
echo " CC $@"
$(CC) $(CFLAGS) -c -o $@ $<

Change log

0136ea839f68 by po...@camelot on Jan 6, 2011   Diff
add zlib to libncd
add pysco into bytecodes
Go to: 
Project members, sign in to write a code review

Older revisions

87e5f98f6eab by po...@camelot on Jan 4, 2011   Diff
update libncd
a3875c174f01 by po...@camelot on Jan 1, 2011   Diff
update dex
add bz2
All revisions of this file

File info

Size: 468 bytes, 33 lines
Powered by Google Project Hosting