openbsd-ports/mbone/imm/patches/patch-src_Makefile_openbsd
2001-03-17 17:15:29 +00:00

32 lines
942 B
Plaintext

$OpenBSD: patch-src_Makefile_openbsd,v 1.1 2001/03/17 17:16:52 wilfried Exp $
--- src/Makefile.openbsd.orig Fri Mar 16 20:40:55 2001
+++ src/Makefile.openbsd Fri Mar 16 20:41:37 2001
@@ -9,9 +9,8 @@ TKLIBS= -L/usr/X11R6/lib -L$(PREFIX)/lib
TARGET = ../openbsd
-CFLAGS = -g -DSIG_T=void -DMULTICAST -I. -DERROR_TEST
+CFLAGS += -g -DSIG_T=void -DMULTICAST -I. -DERROR_TEST
-CC = gcc
CC_SWITCHES = ${CFLAGS}
ROBJS = protocol.o utils.o
@@ -57,13 +56,13 @@ main.o: main.c
mcl.o: mcl.c
imm.o: mcl.c
- gcc $(CFLAGS) -DIMM $(INCLUDE_DIR) -c mcl.c -o imm.o
+ ${CC} $(CFLAGS) -DIMM $(INCLUDE_DIR) -c mcl.c -o imm.o
xlopen_imm.o: xlopen.c
- gcc $(CFLAGS) -DIMM $(INCLUDE_DIR) -c xlopen.c -o xlopen_imm.o
+ ${CC} $(CFLAGS) -DIMM $(INCLUDE_DIR) -c xlopen.c -o xlopen_imm.o
tkAppInit.o: tkAppInit.c
- gcc $(CFLAGS) $(INCLUDE_DIR) tkAppInit.c -c
+ ${CC} $(CFLAGS) $(INCLUDE_DIR) tkAppInit.c -c
protocol.o: protocol.c