blob: 2a629e5d672c6cbe75b6c88e66eacd9927a09624 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/Makefile.orig Sat Nov 24 13:20:21 2001
+++ src/Makefile Sat Nov 24 13:20:34 2001
@@ -1,6 +1,6 @@
#CC = gcc
-CFLAGS =-g -march=i586 -O2 -Wall `glib-config --cflags glib gthread` -Wpointer-arith -Wcast-qual -Wwrite-strings #-Wshadow
-LDFLAGS = -g `glib-config --libs glib gthread`
+CFLAGS +=-g -Wall `${GLIB_CONFIG} --cflags glib gthread` -Wpointer-arith -Wcast-qual -Wwrite-strings -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS += -g `${GLIB_CONFIG} --libs glib gthread` ${PTHREAD_LIBS}
CSRC = main.c action.c dc_com.c display.c key.c keyboard.c network.c typical_action.c dc_manage.c db.c he3.c gts.c user_manage.c md.c timed_out_string.c sema.c
@@ -15,7 +15,7 @@
$(CC) $(CFLAGS) $(LDFLAGS) $(COBJ) -o dctc
hublist: $(COBJ1)
- $(CC) $(CFLAGS) $(LDFLAGS) $(COBJ1) -o hublist
+ $(CC) $(CFLAGS) $(LDFLAGS) $(COBJ1) -o dc_hublist
depend:
makedepend -- $(CFLAGS) -- $(CSRC) $(CSRC1)
|