From 6d4a1d57836737d2e7ac8b4e3f19b0ba736e3981 Mon Sep 17 00:00:00 2001 From: damiano Date: Thu, 9 Apr 1998 13:55:38 +0000 Subject: Move des fichiers dans src --- src/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/Makefile (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..c4e6a73 --- /dev/null +++ b/src/Makefile @@ -0,0 +1,27 @@ +XTINC = +CC=gcc +OBJ = timer.o socket.o bus.o +GOBJ = timer.o socket.o gbus.o +XTOBJ = timer.o xtsocket.o bus.o + +all: libbus.a libgbus.a libxtbus.a testbus + +gbus.o: bus.c + $(CC) -DGNU_REGEXP -c $(CFLAGS) -o gbus.o bus.c + +xtsocket.o: socket.c + $(CC) -DXTMAINLOOP $(XTINC) -c $(CFLAGS) -o xtsocket.o socket.c + +testbus: testbus.o $(OBJ) + $(CC) -o testbus testbus.o $(OBJ) + +libbus.a: $(OBJ) + ar q libbus.a $(OBJ) + +libgbus.a: $(GOBJ) + ar q libgbus.a $(GOBJ) + +libxtbus.a: $(XTOBJ) + ar q libxtbus.a $(XTOBJ) + + -- cgit v1.1