1999-09-20 00:43:11 +00:00
|
|
|
--- Makefile.orig Sat Jul 24 15:33:08 1999
|
|
|
|
+++ Makefile Sun Sep 19 13:48:47 1999
|
|
|
|
@@ -2,14 +2,14 @@
|
1999-08-24 09:50:50 +00:00
|
|
|
bindir = $(prefix)/bin
|
|
|
|
|
|
|
|
NAME = erwin-0.3.1
|
|
|
|
-CC = gcc
|
|
|
|
+CC ?= gcc
|
|
|
|
PROG = erwin
|
|
|
|
OBJS = erwin.o erwinmenu.o erwinfunctions.o erwintoolbar.o \
|
|
|
|
erwinnotebook.o erwindialogs.o erwintags.o gtkmessage.o
|
1999-09-20 00:43:11 +00:00
|
|
|
INSTALL = install
|
|
|
|
DEBUG = -g -DDEBUG
|
|
|
|
|
|
|
|
-CFLAGS = -DNAME=\"$(NAME)\" $(DEBUG) -Wall -O2 -m486 -fno-strength-reduce -malign-functions=4 -malign-jumps=4 -malign-loops=4 -ffast-math -fexpensive-optimizations
|
|
|
|
+CFLAGS = -DNAME=\"$(NAME)\" $(DEBUG) -Wall -O2 -fno-strength-reduce -ffast-math -fexpensive-optimizations
|
|
|
|
|
|
|
|
all: license $(PROG)
|
|
|
|
|
1999-08-24 09:50:50 +00:00
|
|
|
@@ -28,10 +28,10 @@
|
|
|
|
rm -f $(PROG) $(OBJS) *.?~ core license.h
|
|
|
|
|
|
|
|
$(PROG): $(OBJS)
|
|
|
|
- $(CC) $(LDFLAGS) $(shell gtk-config --libs) -o $@ $(OBJS)
|
|
|
|
+ $(CC) $(LDFLAGS) $(shell gtk12-config --libs) -o $@ $(OBJS)
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
- $(CC) $(CFLAGS) $(shell gtk-config --cflags) -o $@ -c $<
|
|
|
|
+ $(CC) $(CFLAGS) $(shell gtk12-config --cflags) -o $@ -c $<
|
|
|
|
|
|
|
|
tar: clean
|
|
|
|
cd ..; ln -s erwin $(NAME);tar cf - $(NAME)/* > $(NAME).tar;rm $(NAME);gzip -f $(NAME).tar
|