openbsd-ports/x11/dclock/patches/patch-Makefile

20 lines
519 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1 2004/05/21 10:48:48 xsa Exp $
--- Makefile.orig 2004-05-19 15:22:58.000000000 +0200
+++ Makefile 2004-05-19 15:25:00.000000000 +0200
@@ -3,12 +3,12 @@ SRCS= Dclock.c dclock.c
OBJS= Dclock.o dclock.o
HFILES= Dclock.h DclockP.h patchlevel.h
-CFLAGS= -O
-LDFLAGS=
+CFLAGS+= -I${X11BASE}/include
+LDFLAGS= -L${X11BASE}/lib
LIBS= -lXt -lX11
dclock: ${OBJS}
- cc ${LDFLAGS} ${OBJS} ${LIBS} -o dclock
+ ${CC} -o dclock ${OBJS} ${LDFLAGS} ${LIBS}
clean: ; rm -f ${OBJS} core dclock