2000-01-29 21:26:22 +00:00
|
|
|
--- work/heyu.dir/Makefile Thu Jan 6 23:47:16 2000
|
|
|
|
+++ Makefile Sun Jan 23 00:35:45 2000
|
|
|
|
@@ -4,7 +4,7 @@
|
2000-01-05 13:30:35 +00:00
|
|
|
MAN = /usr/local/man/man1
|
|
|
|
MAN5 = /usr/local/man/man5
|
2000-01-29 21:26:22 +00:00
|
|
|
GROUP = sys
|
|
|
|
-OWNER = bin
|
|
|
|
+OWNER = root
|
2000-01-05 13:30:35 +00:00
|
|
|
|
|
|
|
|
2000-01-29 21:26:22 +00:00
|
|
|
# set DFLAGS equal to:
|
2000-01-05 13:30:35 +00:00
|
|
|
@@ -13,19 +13,19 @@
|
|
|
|
# -DVOID if compiler doesn't understand 'void'
|
|
|
|
# -DMINIEXCH if using the DEC mini-exchange
|
|
|
|
|
|
|
|
-CFLAGS = -O $(DFLAGS) -Wall
|
|
|
|
+#CFLAGS = -O $(DFLAGS) -Wall
|
|
|
|
#LDFLAGS = -z -i
|
|
|
|
#LIBS = -lm -lc_s # uncomment if using shared libraries
|
|
|
|
LIBS = -lm -lc
|
|
|
|
|
|
|
|
## For LINUX, use the following defines in addition to what's above
|
2000-01-29 21:26:22 +00:00
|
|
|
-DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX
|
|
|
|
+#DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX
|
2000-01-05 13:30:35 +00:00
|
|
|
|
|
|
|
## For solaris, use the following defines in addition to what's above
|
|
|
|
# DFLAGS = -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT
|
|
|
|
|
|
|
|
## if you're using freebsd, just set the flag for select.
|
|
|
|
-# DFLAGS= -DHASSELECT
|
|
|
|
+DFLAGS= -DHASSELECT -DLOCKDIR=\"/var/tmp\"
|
|
|
|
|
|
|
|
## If you aren't sure, try this
|
|
|
|
#DFLAGS = -DSYSV -DPOSIX
|
2000-01-29 21:26:22 +00:00
|
|
|
@@ -54,9 +54,10 @@
|
|
|
|
EVERYTHING = $(OTHERSRC) $(SRCS)
|
|
|
|
|
|
|
|
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
|
|
|
|
|