AmiTimeKeeper/Makefile.m68k

59 lines
1.8 KiB
Makefile

all: timekeeper
CC = /opt/m68k-amigaos/bin/m68k-amigaos-gcc
# clib2
#CFLAGS = -O2 -DAOS3 -Iinclude -mcrt=clib2 -m68020 -fbaserel32 -Wall
#LFALGS = -Wl,--cref,-M,-Map=TimeKeeper.map
#LDLIBS = -lnet
# libnix
#CFLAGS = -O2 -DAOS3 -fomit-frame-pointer -fno-stack-check -Iinclude -noixemul -Wall
CFLAGS = -O2 -DAOS3 -fno-stack-check -Iinclude -noixemul -Wall
LFLAGS = -Wl,--cref,-M,-Map=TimeKeeper.map
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