Subversion Repositories Spectranet

[/] [trunk/] [utils/] [Makefile] - Blame information for rev 495

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 389 winston
CC = gcc
2 423 winston
CFLAGS = -Wall
3 422 winston
B2TOBJS = bin2tape.o
4
B2TOUT = bin2tape
5 423 winston
CFSERVOBJS = configserv.o
6
CFSERVOUT = configserv
7 389 winston
RM = rm
8
 
9 495 winston
ifeq ($(OS),win32)
10
B2TOUT = bin2tape.exe
11
CFSERVOUT = configserv.exe
12
LIBS = -lwsock32
13
else
14
B2TOUT = bin2tape
15
CFSERVOUT = configserv
16
LIBS =
17
endif
18
 
19 423 winston
all:    bin2tzx cfserv
20
 
21 389 winston
bin2tzx:        $(B2TOBJS)
22
        $(CC) -o $(B2TOUT) $(B2TOBJS)
23
 
24 423 winston
cfserv:         $(CFSERVOBJS)
25 495 winston
        $(CC) -o $(CFSERVOUT) $(CFSERVOBJS) $(LIBS)
26 423 winston
 
27 389 winston
clean:
28 423 winston
        $(RM) -f $(B2TOUT) $(B2TOBJS) $(CFSERVOUT) $(CFSERVOBJS)