2000-01-27 09:04:54 -05:00
|
|
|
--- 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)
|