openbsd-ports/graphics/pngcrush/patches/patch-aa
1999-12-30 00:39:40 +00:00

27 lines
615 B
Plaintext

--- Makefile.gcc.orig Wed Dec 29 19:07:26 1999
+++ Makefile.gcc Wed Dec 29 19:11:04 1999
@@ -10,10 +10,10 @@
# macros --------------------------------------------------------------------
-CC = gcc
-LD = gcc
+#CC = gcc
+LD = $(CC)
RM = rm -f
-CFLAGS = -O -Wall
+CFLAGS += -Wall
# [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
LDFLAGS =
O = .o
@@ -32,6 +32,9 @@
EXES = $(PNGCRUSH)$(E)
+install: $(EXES)
+ $(BSD_INSTALL_PROGRAM_DIR) $(PREFIX)/bin
+ $(BSD_INSTALL_PROGRAM) $(EXES) $(PREFIX)/bin
# implicit make rules -------------------------------------------------------