1# 2# Makefile for kHTTPd 3# 4# Note! Dependencies are done automagically by 'make dep', which also 5# removes any old dependencies. DON'T put your own dependencies here 6# unless it's something special (ie not a .c file). 7# 8# Note 2! The CFLAGS definition is now in the main makefile... 9 10O_TARGET := khttpd.o 11 12obj-m := $(O_TARGET) 13obj-y := main.o accept.o datasending.o logging.o misc.o rfc.o rfc_time.o security.o \ 14 sockets.o sysctl.o userspace.o waitheaders.o 15 16 17include $(TOPDIR)/Rules.make 18 19rfc_time.o: times.h 20 21make_times_h: make_times_h.c 22 $(HOSTCC) $(HOSTCFLAGS) -o make_times_h make_times_h.c 23 24times.h: make_times_h 25 ./make_times_h 26