CPPFLAGS=-I..
CFLAGS=-freg-struct-return -m32 $(OPTFLAGS) -fno-stack-protector
LDFLAGS=$(CFLAGS)
LDLIBS=

.PHONY: clean

all: atfuncs.a

atfuncs.a: date.o weekday.o product.o atfuncs.o system.o
	$(AR) r $@ $^

clean:
	rm -f *.a *.o
