scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1.POSIX:
 2PROJECTDIR =../../..
 3include $(PROJECTDIR)/scripts/rules.mk
 4include ../rules.mk
 5
 6OBJS =\
 7	_daysyear.$O\
 8	_newyear.$O\
 9	asctime.$O\
10	ctime.$O\
11	difftime.$O\
12	gmtime.$O\
13	localtime.$O\
14	mktime.$O\
15	strftime.$O\
16	tz.$O\
17
18all: $(OBJS)
19
20tz.c: timezone.lst
21	./gentz timezone.lst > $@
22
23tz.$O: tz.c
24	$(CC) $(PROJ_CFLAGS) -c -o $@ tz.c
25
26clean:
27	rm -f tz.c