3 CFLAGS
= $(DBUG_CFLAGS
) $(DEFINES
) $(INCLUDE
) $(PLATFORM
)
4 DEFINES
= $(DBUG_DEFINES
)
5 INCLUDE
= $(DBUG_INCLUDE
)
6 LDFLAGS
= -s
$(DBUG_LDFLAGS
)
14 DBUG_DEFINES
= -DDEBUG
-DDEBUG_CHILD
15 DBUG_INCLUDE
= -I
$(DBUG
)/include
16 DBUG_LDFLAGS
= -L
$(DBUG
)/lib
20 DBUG_DEFINES
= -DDBUG_OFF
23 ## SFU (INTERIX) needs these also
25 APUE_OBJ
= ptyfork.o ptyopen.o error.o
28 SRC
= cthelper.c buffer.c buffer.h dump.c debug.h
29 OBJ
= cthelper.o buffer.o message.o
$(APUE_OBJ
) $(DBUG_OBJ
)
35 $(q
) $(LINK
) $(LDFLAGS
) -o
$@
$(OBJ
) $(LDLIBS
)
36 cthelper.o
: cthelper.c cthelper.h ptyfork.h buffer.h debug.h
37 buffer.o
: buffer.c buffer.h debug.h
38 message.o
: message.c message.h debug.h
39 .c.o
:; $(q
) $(CC
) $(CFLAGS
) -o
$@
-c
$*.c
41 checkin
: Makefile
$(SRC
)
47 rm -f
*.o
*.exe
*~
*.stackdump
*core
tags