9b2ada8126
no bump, because !mips64 packages didn't change, and mips64 didn't package. "of course it's ok!" jolan@ (MAINTAINER)
29 lines
724 B
Plaintext
29 lines
724 B
Plaintext
$OpenBSD: patch-Makefile,v 1.2 2007/11/07 20:58:16 jasper Exp $
|
|
--- Makefile.orig Sat Nov 17 17:39:52 2001
|
|
+++ Makefile Tue Nov 6 10:35:21 2007
|
|
@@ -1,17 +1,12 @@
|
|
+OBJS = backend.o checkpar.o makepar.o rwpar.o rs.o md5.o fileops.o main.o readoldpar.o interface.o ui_text.o
|
|
|
|
-CFLAGS=-g -W -Wall -Wno-unused -O2
|
|
+.c.o:
|
|
+ ${CC} ${CFLAGS} -c -Wall $< -o $@
|
|
|
|
-par: backend.o checkpar.o makepar.o rwpar.o rs.o md5.o fileops.o main.o readoldpar.o interface.o ui_text.o
|
|
- $(CC) -o $@ $^
|
|
+rs.o: rs.c
|
|
+ ${CC} ${CFLAGS} $(EXTRA_CFLAGS) -c -Wall $< -o $@
|
|
|
|
-clean:
|
|
- rm -f core par par.exe *.o
|
|
-
|
|
all: par
|
|
|
|
-par.exe:
|
|
- make clean
|
|
- make CC="dos-gcc -s"
|
|
-
|
|
-install: par
|
|
- install par ${HOME}/bin/
|
|
+par: $(OBJS)
|
|
+ ${CC} -o par ${OBJS}
|