Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / network / stacks / AROSTCP / syslog / makefile
blobadfe02409f98a2ec84647bc76c94d331b6d2f73c
2 # Makefile for ezSysLog
5 INSTALL_DEST := /SYS/MOSNet
7 CC = gcc
8 CFLAGS = -W -Wall -noixemul -I ../include -O2 -Wpointer-arith -Wno-parentheses
9 STRIP = strip --remove-section .comment
11 #########################################################################
13 OBJS = main.o hooks.o colorlist.o str.o
15 #########################################################################
17 .DEFAULT:
18 @echo "Nothing to do."
20 .PHONY: all clean
22 all: MNSysLog
24 clean:
25 rm -f *.o MNSysLog MNSysLog.db
27 install: MNSysLog
28 cp MNSysLog MNSysLog.info $(INSTALL_DEST)
30 package: MNSysLog
31 cp MNSysLog MNSysLog.info $(PKG_DEST)
33 MNSysLog.db: $(OBJS)
34 $(CC) $(CFLAGS) $(OBJS) -o $@ -ldebug
36 MNSysLog: MNSysLog.db
37 $(STRIP) $< -o $@
38 protect $@ +e
40 main.o: main.c main.h colorlist.h
42 hooks.o: hooks.c main.h
44 colorlist.o: colorlist.c main.h str.h
46 str.o: str.c str.h