amiga-whois/Makefile

36 lines
745 B
Makefile

# Portable Makefile generated by configure
all: whois
CC = m68k-amigaos-gcc
CFLAGS = -O2 -m68000 -noixemul -Iinclude -Wall -Werror
LDFLAGS = -s -liberty -lm -lgcc
config.h: getaddrinfo.h
touch config.h
version.h: config.h
touch version.h
whois.o: whois.c config.h version.h
error.o: error.c config.h
getaddrinfo.o: getaddrinfo.c config.h getaddrinfo.h
sgetln.o: sgetln.c config.h
strnstr.o: strnstr.c
wasprint.o: wasprint.c config.h
whois: whois.o error.o getaddrinfo.o sgetln.o strnstr.o wasprint.o
${CC} ${CFLAGS} -o whois whois.o error.o getaddrinfo.o sgetln.o strnstr.o wasprint.o ${LDFLAGS}
clean:
rm -f whois.o error.o getaddrinfo.o sgetln.o strnstr.o wasprint.o whois
depend:
@echo Dependencies already done