openbsd-ports/sysutils/libretto-config/patches/patch-Makefile
2004-02-01 01:35:52 +00:00

22 lines
525 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1 2004/02/01 01:35:52 millert Exp $
--- Makefile.orig Thu Jun 18 04:44:09 1998
+++ Makefile Sat Jan 31 18:11:24 2004
@@ -10,11 +10,14 @@ MANDIR = /usr/local/man/ja_JP.ujis
MANLANG = j
#MANDIR = /usr/local/man
#MANLANG = e
-
-CFLAGS = -O2 #-DLIBRETTO -DDEBUG
+LIBS = -li386
+#DEFS= -DLIBRETTO -DDEBUG
+CFLAGS += $(DEFS)
$(PROGRAM): $(OBJ)
- $(CC) $(CFLAGS) -o $(PROGRAM) $(OBJ)
+ $(CC) $(CFLAGS) -o $(PROGRAM) $(OBJ) $(LIBS)
+
+all: $(PROGRAM)
clean:
/bin/rm -f $(OBJ) $(PROGRAM) *~