# Generated automatically from Makefile.in by configure. # $Id$ # # Makefile for event-handling library # # Copyright 2002 Roaring Penguin Software Inc. # Copyright (C) 2018-2023 Dianne Skoll # # This software may be distributed according to the terms of the GNU # General Public License, version 2 or (at your option) any later version. # SPDX-License-Identifier: GPL-2.0-or-later OBJS=event.o event_tcp.o hash.o event_sig.o SRCS=$(OBJS:.o=.c) HDRS=event.h event_tcp.h eventpriv.h hash.h CFLAGS=@CFLAGS@ -I.. $(DEFINES) AR=ar all: libevent.a libevent.a: $(OBJS) rm -f libevent.a $(AR) -cq libevent.a $(OBJS) @RANLIB@ libevent.a event.o: event.c $(HDRS) @CC@ $(CFLAGS) -c -o $@ $< hash.o: hash.c $(HDRS) @CC@ $(CFLAGS) -c -o $@ $< event_sig.o: event_sig.c $(HDRS) @CC@ $(CFLAGS) -c -o $@ $< event_tcp.o: event_tcp.c $(HDRS) @CC@ $(CFLAGS) -c -o $@ $< clean: FORCE rm -f *.a *.o *~ FORCE: .phony: FORCE