minix/servers/ipc/Makefile
Ben Gras 75d3db4911 new ipc server that implements shared memory and semaphores.
this server, tests, vm support, library stubs and other contributions
are the work of Guanqun Lu, a 2009 GSOC student.
2009-09-21 14:53:13 +00:00

30 lines
474 B
Makefile

# Makefile for IPC server
SERVER = ipc
include /etc/make.conf
OBJ = main.o utility.o shm.o sem.o
CPPFLAGS=
CFLAGS = $(CPROFILE) $(CPPFLAGS)
# build local binary
all build: $(SERVER)
install: $(SERVER)
install -o root -c $< /usr/sbin/$(SERVER)
$(SERVER): $(OBJ)
$(CC) -o $@ $(LDFLAGS) $(OBJ) -lsys
# clean up local files
clean:
rm -f $(SERVER) *.o *.bak
depend:
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
# Include generated dependencies.
include .depend