Subversion Repositories Tewi

Rev

Rev 187 | Rev 191 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 187 Rev 189
Line 1... Line 1...
1
# $Id: Makefile 187 2024-09-28 00:07:34Z nishi $
1
# $Id: Makefile 189 2024-09-29 00:37:00Z nishi $
2
 
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
4
 
5
.PHONY: all clean
5
.PHONY: all clean
6
.SUFFIXES: .c .o
6
.SUFFIXES: .c .o
7
 
7
 
8
OBJS = version.o main.o config.o server.o http.o module.o strptime.o $(EXTOBJS) $(PREOBJS)
8
OBJS = main.o version.o config.o server.o http.o module.o strptime.o $(EXTOBJS) $(PREOBJS)
9
 
9
 
10
all: tewi$(EXEC) $(TARGET)
10
all: tewi$(EXEC) $(TARGET)
11
 
11
 
12
tewi_strip$(EXEC): tewi$(EXEC)
12
tewi_strip$(EXEC): tewi$(EXEC)
13
 
13
 
14
tewi$(EXEC): $(OBJS) ../Common/common.a
14
tewi$(EXEC): $(OBJS) ../Common/common.a
15
	$(CC) $(LDFLAGS) $(EXTLDFLAGS) -o $@ $(OBJS) $(EXTLIBS) $(LIBS) ../Common/common.a
15
	$(CC) $(LDFLAGS) $(EXTLDFLAGS) -o $@ $(OBJS) $(EXTLIBS) ../Common/common.a $(LIBS)
16
	$(SERVADD)
16
	$(SERVADD)
17
 
17
 
18
tewi.pbp: tewi_strip$(EXEC) param.sfo
18
tewi.pbp: tewi_strip$(EXEC) param.sfo
19
	pack-pbp $@ param.sfo ../Binary/psp.png NULL NULL NULL NULL tewi_strip$(EXEC) NULL
19
	pack-pbp $@ param.sfo ../Binary/psp.png NULL NULL NULL NULL tewi_strip$(EXEC) NULL
20
 
20