Lines 1-49
Link Here
|
1 |
--- Makefile.orig Fri Mar 17 10:35:33 2000 |
|
|
2 |
+++ Makefile Fri Jan 12 03:02:20 2001 |
3 |
@@ -3,22 +3,22 @@ |
4 |
# |
5 |
# initial_directory is now set in the config file |
6 |
mpg123_location := "mpg123" |
7 |
-install_directory := "$(HOME)/bin" |
8 |
+install_directory := "$(PREFIX)/bin" |
9 |
|
10 |
# |
11 |
# Location of config file - Please edit this file before installing |
12 |
# |
13 |
-config_file := "$(HOME)/.cmp3rc" |
14 |
+#config_file := "$(HOME)/.cmp3rc" |
15 |
|
16 |
# |
17 |
# Uncomment and set if desired |
18 |
# |
19 |
|
20 |
## An ass repository is a nice thing to have. See README |
21 |
-ass_repository := "$(HOME)/.cmp3ass" |
22 |
+#ass_repository := "$(HOME)/.cmp3ass" |
23 |
|
24 |
## Define this for bufferring or add other parameters to mpg123 |
25 |
-mpg123_params := -b 320 |
26 |
+#mpg123_params := -b 320 |
27 |
|
28 |
# You need debugging info? Uncomment this and check /tmp/cmp3log |
29 |
#debugging := 1 |
30 |
@@ -38,8 +38,8 @@ |
31 |
# stands. Change the code to do something else you want it to do... |
32 |
#PARAMS +=-DMY_CD |
33 |
LIBS= -lform -lncurses |
34 |
-CFLAGS= -g -O -Inevlib |
35 |
-CC= gcc |
36 |
+CFLAGS+= -Inevlib |
37 |
+CC?= gcc |
38 |
OBJS= cmp3common.o cmp3fileio.o cmp3manager.o cmp3curses.o \ |
39 |
cmp3llist.o cmp3main.o cmp3listfiles.o cmp3playlist.o cmp3volume.o \ |
40 |
cmp3general.o cmp3id3.o |
41 |
@@ -78,7 +78,7 @@ |
42 |
$(CC) $(CFLAGS) $(OBJS) nevlib/libnev.a $(LIBS) -o cmp3 |
43 |
|
44 |
lib: |
45 |
- @$(MAKE) -C nevlib lib |
46 |
+ @$(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" -C nevlib lib |
47 |
|
48 |
cleanlib: |
49 |
@$(MAKE) -C nevlib clean |