fd67c2a2c9
- add missing RMD160 and SHA1 checksums - convert patches to unified diffs - make this port respect CC and CFLAGS - remove some unnecedsary comments from DESCR
37 lines
829 B
Plaintext
37 lines
829 B
Plaintext
--- Makefile.in.orig Wed Jan 22 04:43:12 1997
|
|
+++ Makefile.in Thu Jan 27 00:49:39 2000
|
|
@@ -16,7 +16,7 @@
|
|
## Received from Mike Coleman
|
|
############################################################################
|
|
|
|
-CC = gcc
|
|
+CC = @CC@
|
|
|
|
c_sources = \
|
|
common.c \
|
|
@@ -40,7 +40,8 @@
|
|
|
|
NINT_SWITCH = @NINTSW@
|
|
|
|
-CC_SWITCHES = -g -O -DUNIX -DBS_FORMAT=BINARY $(NINT_SWITCH) -DNDEBUG
|
|
+CC_SWITCHES = -DUNIX -DBS_FORMAT=BINARY $(NINT_SWITCH) -DNDEBUG
|
|
+CFLAGS += $(CC_SWITCHES)
|
|
|
|
PGM = encode
|
|
|
|
@@ -48,11 +49,12 @@
|
|
|
|
|
|
%.o: %.c
|
|
- $(CC) $(CC_SWITCHES) -c $< -o $@
|
|
+ $(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
%.d: %.c
|
|
- $(SHELL) -ec '$(CC) -M $(CC_SWITCHES) $< | sed '\''s/$*.o/& $@/g'\'' > $@'
|
|
+ $(SHELL) -ec '$(CC) -M $(CFLAGS) $< | sed '\''s/$*.o/& $@/g'\'' > $@'
|
|
|
|
+all: $(PGM)
|
|
|
|
$(PGM): $(OBJ) Makefile
|
|
$(CC) -o $(PGM) $(OBJ) $(LIBS)
|