Check-in Number:
|
2822 | |
Date: |
2002-Nov-14 10:24:54 (local)
2002-Nov-14 09:24:54 (UTC) |
User: | rse |
Branch: | |
Comment: |
until we have a real OSSP build env, add a variant of Michaels makefile to CVS for easier building by team |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/sio/Makefile -> 1.1
*** /dev/null Sat Nov 23 02:15:24 2024
--- - Sat Nov 23 02:15:24 2024
***************
*** 0 ****
--- 1,26 ----
+
+ CC = gcc
+ CFLAGS = -g -O2 -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline \
+ -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
+
+ all: al_test sio_test
+
+ .c.o:
+ $(CC) $(CFLAGS) -c $<
+
+ al_test: al_test.o al.o
+
+ sio_test: sio_test.o sio_buffer.o sio_hello.o sio_fd.o sio_sa.o sio.o al.o lib_sa/sa.o
+
+ lib_sa/sa.o: lib_sa/sa.c
+ $(CC) $(CFLAGS) -c -Ilib_sa -o lib_sa/sa.o lib_sa/sa.c
+
+ sio_sa.o: sio_sa.c lib_sa/sa.h
+ $(CC) $(CFLAGS) -c -Ilib_sa sio_sa.c
+
+ sio_test.o: sio_test.c lib_sa/sa.h
+ $(CC) $(CFLAGS) -c -Ilib_sa sio_test.c
+
+ clean:
+ rm -f sio_test sio_test.o sio_buffer.o sio_hello.o sio_fd.o sio_sa.o sio.o al.o lib_sa/sa.o
+
|
|