source: tags/minix3.1.2a-orig/minix/servers/ss/Makefile@ 13

Last change on this file since 13 was 13, checked in by Mattia Monga, 13 years ago

Server semaforo

File size: 537 bytes
Line 
1# Semaphore Server
2SERVER = ss
3
4# programs, flags, etc.
5CC = exec cc
6CFLAGS = -I/usr/include
7LDFLAGS = -i
8LIBS = -lsys -lsysutil
9
10OBJ = main.o semaforo.o
11
12# build local binary
13all build: $(SERVER)
14$(SERVER): $(OBJ)
15 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
16 install -S 16k $@
17
18# install with other servers
19install: $(SERVER)
20 install -o root -c $? /sbin/$(SERVER)
21
22# clean up local files
23clean:
24 rm -f $(SERVER) *.o *.bak
25
26depend:
27 /usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
28
29# Include generated dependencies.
30include .depend
31
Note: See TracBrowser for help on using the repository browser.