openbsd-ports/devel/teensyloader/patches/patch-Makefile_bsd

27 lines
611 B
Plaintext

$OpenBSD: patch-Makefile_bsd,v 1.1 2010/06/26 21:22:00 ckuethe Exp $
--- Makefile.bsd.orig Mon Feb 15 18:27:15 2010
+++ Makefile.bsd Mon Feb 15 18:28:31 2010
@@ -1,6 +1,6 @@
-OS ?= FreeBSD
+#OS ?= FreeBSD
#OS ?= NetBSD
-#OS ?= OpenBSD
+OS ?= OpenBSD
CFLAGS ?= -O2 -Wall
CC ?= gcc
@@ -14,8 +14,10 @@ LIBS =
.endif
-teensy_loader_cli: teensy_loader_cli.c
- $(CC) $(CFLAGS) -s -o teensy_loader_cli teensy_loader_cli.c $(LIBS)
+all: teensyloader
+teensyloader: teensy_loader_cli.c
+ $(CC) $(CFLAGS) -s -o teensyloader teensy_loader_cli.c $(LIBS)
+
clean:
- rm -f teensy_loader_cli
+ rm -f teensyloader