0108f5bf0d
Fix build on current by #including the relevant headers instead of trying to guess declarations.
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
--- Makefile.in.orig Thu Mar 25 11:03:34 1999
|
|
+++ Makefile.in Tue Sep 26 18:07:31 2000
|
|
@@ -10,7 +10,6 @@
|
|
# try uncommenting the 'gcc' line and commenting the 'cc' one.
|
|
# Tintin++ doesn't *need* an ANSI compiler anymore, but gcc
|
|
# is still better than cc on many platforms...
|
|
-CC = @CC@ -O
|
|
CFLAGS = @DEFS@
|
|
LIBS = @LIBS@
|
|
PIPE = @PIPE@
|
|
@@ -22,10 +21,10 @@
|
|
|
|
# BINDIR is the directory you wish tt++ to be placed if you wish to use
|
|
# make install.
|
|
-BINDIR = ..
|
|
+BINDIR = /usr/local/bin
|
|
|
|
# DEFAULT_FILE_DIR is the path to tintin files.
|
|
-DEFAULT_FILE_DIR = ~
|
|
+DEFAULT_FILE_DIR = /usr/local/lib/tintin
|
|
|
|
#########################################
|
|
# You shouldn't need to change anything #
|
|
@@ -41,14 +40,14 @@
|
|
variables.c highlight.c antisub.c ivars.c help.c text.c glob.c
|
|
OFILES = $(CFILES:.c=.o)
|
|
|
|
-all: tintin++ install
|
|
+all: tintin++
|
|
|
|
tintin++: $(OFILES) tintin.h
|
|
@echo "Linking..."
|
|
$(CC) $(CFLAGS) $(FFLAGS) $(LFLAGS) -o tt++ $(OFILES) $(LIBS)
|
|
|
|
install: all
|
|
- @./install.sh $(BINDIR) $(DEFAULT_FILE_DIR) $(COMPRESSED_HELP)
|
|
+ @./install.sh $(BINDIR) $(DEFAULT_FILE_DIR) Ok
|
|
|
|
# Autocompile all .c files into .o files using this rule:
|
|
.c.o:
|