|
Revision 1760, 0.6 kB
(checked in by mattn, 13 months ago)
|
|
lang/c/sonydb,
lang/c/sonydb/sonydb.cpp,
lang/c/sonydb/frontend.cpp,
lang/c/sonydb/sonydb.rc,
lang/c/sonydb/sonydb.h,
lang/c/sonydb/TODO,
lang/c/sonydb/Makefile.w32,
lang/c/sonydb/sonydb.ico,
lang/c/sonydb/Makefile.gcc,
lang/c/sonydb/images.h,
lang/c/sonydb/resource.h,
lang/c/sonydb/README:
added 'sonydb' that is a maintenance application
for sony network players.
|
| Line | |
|---|
| 1 | ID3LIB_CFLAGS=-I/usr/include
|
|---|
| 2 | #ID3LIB_LDFLAGS=-Lid3lib -lid3 -lz
|
|---|
| 3 | ID3LIB_LDFLAGS=-lid3 -lz
|
|---|
| 4 | GTK_CFLAGS=`pkg-config --cflags gtk+-2.0`
|
|---|
| 5 | GTK_LDFLAGS=`pkg-config --libs gtk+-2.0`
|
|---|
| 6 |
|
|---|
| 7 | all : sonydb
|
|---|
| 8 | @echo done.
|
|---|
| 9 |
|
|---|
| 10 | sonydb : sonydb.o frontend.o
|
|---|
| 11 | gcc -g -o sonydb sonydb.o frontend.o -lstdc++ -lid3 -lz
|
|---|
| 12 |
|
|---|
| 13 | sonydb.o : sonydb.cpp sonydb.h
|
|---|
| 14 | gcc -I. -g -c sonydb.cpp
|
|---|
| 15 |
|
|---|
| 16 | frontend.o : sonydb.h frontend.cpp
|
|---|
| 17 | gcc -DID3LIB_LINKOPTION=1 -I. -g -c frontend.cpp
|
|---|
| 18 |
|
|---|
| 19 | gui : sonydb.o
|
|---|
| 20 | gcc -g -DID3LIB_LINKOPTION=1 -DGUI $(ID3LIB_CFLAGS) $(GTK_CFLAGS) -c frontend.cpp
|
|---|
| 21 | gcc -o sonydb sonydb.o frontend.o $(ID3LIB_LDFLAGS) $(GTK_LDFLAGS)
|
|---|
| 22 |
|
|---|