summaryrefslogtreecommitdiffstats
path: root/net/khttpd/Makefile
blob: b594de142d18b627f0f534380daead0c0ba9d6ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# Makefile for kHTTPd
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...

O_TARGET := khttpd.o

M_OBJS := $(O_TARGET)
O_OBJS := 	main.o accept.o datasending.o logging.o misc.o rfc.o rfc_time.o security.o \
		sockets.o sysctl.o userspace.o waitheaders.o



include $(TOPDIR)/Rules.make

rfc_time.o: times.h


make_times_h: make_times_h.c
	$(HOSTCC) $(HOSTCFLAGS) -o make_times_h make_times_h.c

times.h: make_times_h
	./make_times_h