blob: 75d0ef96650e8d63140ad37f3e4c858da09f2b5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
$NetBSD: patch-aa,v 1.2 2001/08/23 19:45:43 jlam Exp $
--- Makefile.orig Fri Feb 9 01:25:57 2001
+++ Makefile
@@ -1,7 +1,7 @@
-CC=gcc
+#CC=gcc
#CFLAGS=-g -Wall
-CFLAGS=-O2 -Wall -Winline
-LIBS=-lpng -lz
+CFLAGS+=`${GTK_CONFIG} --cflags`
+LIBS+=`${GTK_CONFIG} --libs` -lpng -lz
OBJS=main.o fractal.o palette.o globals.o misc.o attr_dlg.o my_png.o \
pal_rot_dlg.o timer.o
@@ -9,13 +9,9 @@
pal_rot_dlg.h timer.h version.h
gfract: $(OBJS)
- $(CC) `gtk-config --cflags` $(CFLAGS) $(OBJS) -o gfract \
-`gtk-config --libs` $(LIBS)
+ $(CC) $(CFLAGS) $(OBJS) -o gfract $(LIBS)
%.o : %.c $(HEADERS)
- $(CC) `gtk-config --cflags` $(CFLAGS) -c $<
-
-main.o: main.c $(HEADERS) *.xpm
clean:
rm -f gfract $(OBJS)
|