--- Makefile.orig Sun Jun 3 01:19:23 2001 +++ Makefile Sun Jun 3 01:20:28 2001 @@ -5,7 +5,7 @@ MAN = /usr/local/man/man1 MAN5 = /usr/local/man/man5 GROUP = sys -OWNER = bin +OWNER = root # set DFLAGS equal to: # -DSYSV if using SYSTEM V @@ -13,9 +13,9 @@ #This makefile is built for freebsd CC = gcc -CFLAGS = -g -O $(DFLAGS) -Wall +#CFLAGS = -g -O $(DFLAGS) -Wall LIBS = -lm -lc -DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD +DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/tmp\" # # The rest of the makefile should need no changes ## Makefile template for Heyu, a program to control an X10 CM11A computer @@ -42,9 +42,10 @@ all: heyu dawndusk heyu: $(OBJS) version.h - $(CC) $(LDFLAGS) -o heyu $(OBJS) $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) $(DFLAGS) -o heyu $(OBJS) $(LIBS) $(OBJS): x10.h + $(CC) $(CFLAGS) $(DFLAGS) -c $< eeprom.o: eeprom.h