50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
|
|
all: timekeeper
|
|
|
|
CC = gcc
|
|
CFLAGS += -O2 -fno-stack-protector -DAROS -Wall
|
|
LDLIBS +=
|
|
|
|
broker.o: compiler.h config.h message.h win.h
|
|
|
|
com.o: compiler.h config.h message.h state.h time.h sntp.h mem.h
|
|
|
|
library.o: compiler.h config.h time.h mem.h
|
|
|
|
log.o: compiler.h config.h log.h mem.h
|
|
|
|
main.o: compiler.h config.h state.h time.h mem.h
|
|
|
|
mem.o: compiler.h config.h mem.h
|
|
|
|
message.o: compiler.h config.h message.h mem.h
|
|
|
|
net_getaddrinfo.o: compiler.h mem.h config.h net_getaddrinfo.h
|
|
|
|
net_poll.o: compiler.h config.h mem.h
|
|
|
|
net.o: compiler.h config.h net_getaddrinfo.h message.h mem.h
|
|
|
|
sntp.o: compiler.h config.h sntp.h time.h net_getaddrinfo.h message.h mem.h
|
|
|
|
state.o: compiler.h config.h state.h mem.h
|
|
|
|
string.o: compiler.h config.h string.h mem.h
|
|
|
|
time.o: compiler.h config.h time.h mem.h
|
|
|
|
win_main.o: compiler.h config.h message.h state.h time.h mem.h win.h
|
|
|
|
win_gad.o: compiler.h config.h message.h state.h time.h mem.h win.h
|
|
|
|
timekeeper: broker.o com.o library.o log.o main.o mem.o message.o net_getaddrinfo.o net_poll.o net.o sntp.o state.o time.o string.o win_main.o win_gad.o
|
|
${CC} ${CFLAGS} ${LFLAGS} -s -o TimeKeeper \
|
|
broker.o com.o library.o log.o main.o mem.o message.o net_getaddrinfo.o net_poll.o net.o sntp.o state.o time.o string.o win_main.o win_gad.o \
|
|
${LDLIBS}
|
|
|
|
clean:
|
|
rm -f TimeKeeper broker.o com.o library.o log.o main.o mem.o message.o net_getaddrinfo.o net_poll.o net.o settings.o sntp.o state.o time.o string.o win_main.o win_gad.o TimeKeeper.map
|
|
|
|
depend:
|
|
@echo Dependencies already done
|