source: Main/trunk/Server/Makefile@ 183

Last change on this file since 183 was 183, checked in by Nishi, on Sep 28, 2024 at 1:15:15 AM

psp support

  • Property svn:keywords set to Id
File size: 720 bytes
RevLine 
[2]1# $Id: Makefile 183 2024-09-27 16:15:15Z nishi $
2
3include $(PWD)/Platform/$(PLATFORM).mk
4
5.PHONY: all clean
6.SUFFIXES: .c .o
7
[48]8OBJS = version.o main.o config.o server.o http.o module.o strptime.o $(EXTOBJS) $(PREOBJS)
[2]9
[182]10all: tewi$(EXEC) $(TARGET)
[2]11
[182]12tewi_strip$(EXEC): tewi$(EXEC)
13
[3]14tewi$(EXEC): $(OBJS) ../Common/common.a
[44]15 $(CC) $(LDFLAGS) $(EXTLDFLAGS) -o $@ $(OBJS) $(EXTLIBS) $(LIBS) ../Common/common.a
[182]16 $(SERVADD)
[2]17
[182]18tewi.pbp: tewi_strip$(EXEC) param.sfo
[183]19 pack-pbp $@ param.sfo ../Binary/psp.png NULL NULL NULL NULL tewi_strip$(EXEC) NULL
[182]20
21param.sfo:
22 mksfoex -d MEMSIZE=1 'Tewi HTTPd' $@
23
[2]24.c.o:
[44]25 $(CC) $(CFLAGS) $(EXTCFLAGS) -c -o $@ $<
[2]26
[128]27tewi.res: tewi.rc ../Binary/tewi.ico
[48]28 $(WINDRES) tewi.rc -O coff -o $@
29
[2]30clean:
[182]31 rm -f *.o tewi *.exe *.res *.elf *.sfo *.pbp
Note: See TracBrowser for help on using the repository browser.