mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-27 21:29:02 +00:00
29 lines
522 B
Plaintext
29 lines
522 B
Plaintext
--- Makefile.orig Wed Jan 5 08:57:53 2000
|
|
+++ Makefile Sun Aug 6 20:47:07 2000
|
|
@@ -1,12 +1,15 @@
|
|
#
|
|
# Makefile
|
|
#
|
|
-CC = gcc
|
|
+CC?= gcc
|
|
CFLAGS += -Wall -Wunused -Wstrict-prototypes
|
|
#
|
|
# __for debugging__
|
|
# CFLAGS += -pipe -g -m486 -Wall -Werror -Wunused -Wstrict-prototypes
|
|
|
|
+.if $(ARCH) == "alpha"
|
|
+LDFLAGS+= -lio
|
|
+.endif
|
|
|
|
BIN = heat
|
|
|
|
@@ -19,7 +22,7 @@
|
|
$(CC) $(CFLAGS) -c main.c
|
|
|
|
main: main.o winbond.o
|
|
- $(CC) main.o winbond.o -o $(BIN)
|
|
+ $(CC) main.o winbond.o -o $(BIN) $(LDFLAGS)
|
|
strip $(BIN)
|
|
|
|
clean:
|