Add missing directory and respect CC and CFLAGS

This commit is contained in:
Kris Kennaway 2002-10-28 02:43:07 +00:00
parent fa3ee875ef
commit 6fa1c549ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69004
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,44 @@
--- src/Makefile.orig Sun Oct 27 18:42:09 2002
+++ src/Makefile Sun Oct 27 18:42:54 2002
@@ -1,24 +1,24 @@
#FLAGS = -DDEBUG
-CC=gcc
+CC?=cc
default:
- $(CC) -c bmp_parse.c $(FLAGS)
- $(CC) -c fileoutput.c $(FLAGS)
- $(CC) -c general.c $(FLAGS)
- $(CC) -c kyocera.c $(FLAGS)
- $(CC) -c motorola.c -Wall $(FLAGS)
- $(CC) -c nokia.c -Wall $(FLAGS)
- $(CC) -c parse_imelody.c -Wall $(FLAGS)
- $(CC) -c parse_kws.c -Wall $(FLAGS)
- $(CC) -c parse_logo.c -Wall $(FLAGS)
- $(CC) -c parse_midi.c -Wall $(FLAGS)
- $(CC) -c parse_rtttl.c -Wall $(FLAGS)
- $(CC) -c rtttl.c -Wall $(FLAGS)
- $(CC) -c samsung.c -Wall $(FLAGS)
- $(CC) -c wav.c -Wall $(FLAGS)
- $(CC) -c wav2pdb.c -Wall $(FLAGS)
- $(CC) -o ringtonetools ringtonetools.c bmp_parse.o fileoutput.o \
+ $(CC) $(CFLAGS) -c bmp_parse.c $(FLAGS)
+ $(CC) $(CFLAGS) -c fileoutput.c $(FLAGS)
+ $(CC) $(CFLAGS) -c general.c $(FLAGS)
+ $(CC) $(CFLAGS) -c kyocera.c $(FLAGS)
+ $(CC) $(CFLAGS) -c motorola.c -Wall $(FLAGS)
+ $(CC) $(CFLAGS) -c nokia.c -Wall $(FLAGS)
+ $(CC) $(CFLAGS) -c parse_imelody.c -Wall $(FLAGS)
+ $(CC) $(CFLAGS) -c parse_kws.c -Wall $(FLAGS)
+ $(CC) $(CFLAGS) -c parse_logo.c -Wall $(FLAGS)
+ $(CC) $(CFLAGS) -c parse_midi.c -Wall $(FLAGS)
+ $(CC) $(CFLAGS) -c parse_rtttl.c -Wall $(FLAGS)
+ $(CC) $(CFLAGS) -c rtttl.c -Wall $(FLAGS)
+ $(CC) $(CFLAGS) -c samsung.c -Wall $(FLAGS)
+ $(CC) $(CFLAGS) -c wav.c -Wall $(FLAGS)
+ $(CC) $(CFLAGS) -c wav2pdb.c -Wall $(FLAGS)
+ $(CC) $(CFLAGS) -o ringtonetools ringtonetools.c bmp_parse.o fileoutput.o \
general.o kyocera.o motorola.o nokia.o parse_imelody.o \
parse_kws.o parse_logo.o parse_midi.o parse_rtttl.o \
rtttl.o samsung.o wav.o wav2pdb.o -Wall $(FLAGS)

View file

@ -4,5 +4,6 @@ share/ringtonetools/hemglass.mid
share/ringtonetools/ionian.rtttl
share/ringtonetools/usa.imelody
share/ringtonetools/yngwie_trilogy.rtttl
@dirrm share/ringtonetools
%%PORTDOCS%%share/doc/ringtonetools/README
%%PORTDOCS%%@dirrm share/doc/ringtonetools